[Haskell-cafe] Best deployment method for Hakyll websites (with Stack)?

David Kraeutmann kane at kane.cx
Thu Sep 10 17:54:52 UTC 2015

The way I deploy my website (kane.cx) is exactly as you do with Jekyll.
I do own the server though, so I just installed ghc/hakyll. You can
always push as a user with a home directory and give it access to the
relevant htdocs directory (using ACLs if neccessary).

Docker sounds like a cleaner idea, but I haven't done anything with it
except set up some pre-packaged stuff.

On 9/10/2015 3:49 PM, Nicola Gigante wrote:
> Hello,
> Note, this is not a Hakyll question, after all.
> I’m trying to host a hakyll website on a CentOS 7 server.
> I want to replicate the setup I had with the previous site, made
> with Jekyll: at each push on the git repository (hosted on the same
> server), the branch is recompiled and deployed to the web server.
> I already have the git hooks in place etc… The problem is how to
> manage the installation of ghc, hakyll, and their dependencies.
> I really really wish to have a clean solution. I really like stack, but
> its “per-user” directories make me wonder. The site compilation has
> to be performed by the git user account, which does not have an
> home directory. Can I setup a stack installation of a set of packages
> and then point stack to use that and only that? 
> Also, how about the integration with docker? Is it really so painless as
> it is advertised? If I’ve understood correctly, I could install the 
> docker image with stackage packages already installed, and tell stack
> to use that image with docker, having the site compilation sandboxed.
> Is it feasible?
> Thank you for any advice,
> Nicola
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4291 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150910/d07c02d9/attachment.bin>

More information about the Haskell-Cafe mailing list