I\'ve installed Snap/Haskell on my production Ubuntu server (on EC2), and checked-out my project - but how do I run it?
I mean, locally, I run it from command line:
Yes, snap-server is its own server, which means compilation of your Haskell/Snap app leaves you with an executable that you can literally run from the command line to host your site. That's it, there's no external server like apache or nginx to tie into. You can setup reverse proxies if needed, but that's up to you.
Here's what I do with most of my serious deployments:
cabal-dev/bin/myapp -p 8010 -e prod +RTS -A4M -qg1
HUP
signal to your application whenever you want to restart and the monitoring app will just bring it back up.Hope this helps.