4 ms·
There is this tutorial: http://adit.io/posts/2013-04-15-making-a-website-with-haskell.html http://adit.io/posts/2013-04-15-making-a-website-with-haskel... Alth
by klrr 13y ago
There is this tutorial: http://adit.io/posts/2013-04-15-making-a-website-with-haskell.html http://adit.io/posts/2013-04-15-making-a-website-with-haskel...
Although it uses virthualenv instead of a cabal sandbox.
- chrisrogers 13y agoI read that article a few weeks ago in order to get a basic personal site server running on Heroku. I used a standard cabal setup and updated a few things. end result here, which I think should serve as a good starter point for developing with Scotty: https://github.com/chrissrogers/chrissrogers.com https://github.com/chrissrogers/chrissrogers.com For Heroku builds I used the following excellent buildpack https://github.com/begriffs/heroku-buildpack-ghc https://github.com/begriffs/heroku-buildpack-ghc
- mark_l_watson 13y ago+1 thanks! Nice example. Scotty is appealing to me because it has a Sinatra like feel to it.
- gcb0 13y agofor a true beginner, it starts with an outdated cabal definition for virthualenv/hsenv that has specific old versions. nobody will be able to just copy and paste trhu the tutorial. but it seems well written if you can get past that point. Most beginners won't though.
- egonschiele 13y agoPost author here. I just updated the post to use cabal sandboxes.