Yesod blog

Instructions for building a Yesod blog, taken from this tutorial.

Setup

Create a new yesod project

stack new haskell-blog yesodweb/postgres
cd haskell-blog

Setup, build and run the server

stack build
stack exec -- yesod devel

Sandboxes

Create a new sandbox, an isolated environment

cabal sandbox init

References