LinuxCommandLibrary

yesod

Haskell web framework

TLDR

Create a new scaffolded site, with SQLite as backend, in the my-project directory

$ stack new [my-project] [yesod-sqlite]
copy


Install the Yesod CLI tool within a Yesod scaffolded site
$ stack build yesod-bin cabal-install --install-ghc
copy


Start development server
$ stack exec -- yesod devel
copy


Touch files with altered Template Haskell dependencies
$ stack exec -- yesod touch
copy


Deploy application using Keter (Yesod's deployment manager)
$ stack exec -- yesod keter
copy

Copied to clipboard