snippetbashTip
yesod — Helper tool for Yesod, a Haskell-based web framework. All Yesod commands are invoked through the `st
Viewed 0 times
yesodhelpercommandclihaskelltoolfor
Problem
How to use the
yesod command: Helper tool for Yesod, a Haskell-based web framework. All Yesod commands are invoked through the stack project manager. More information: <https://github.com/yesodweb/yesod>.Solution
yesod — Helper tool for Yesod, a Haskell-based web framework. All Yesod commands are invoked through the stack project manager. More information: <https://github.com/yesodweb/yesod>.Create a new scaffolded site, with SQLite as backend, in the
my-project directory:stack new {{my-project}} {{yesod-sqlite}}Install the Yesod CLI tool within a Yesod scaffolded site:
stack build yesod-bin cabal-install --install-ghcStart development server:
stack exec -- yesod develTouch files with altered Template Haskell dependencies:
stack exec -- yesod touchDeploy application using Keter (Yesod's deployment manager):
stack exec -- yesod keterCode Snippets
Create a new scaffolded site, with SQLite as backend, in the `my-project` directory
stack new {{my-project}} {{yesod-sqlite}}Install the Yesod CLI tool within a Yesod scaffolded site
stack build yesod-bin cabal-install --install-ghcStart development server
stack exec -- yesod develTouch files with altered Template Haskell dependencies
stack exec -- yesod touchDeploy application using Keter (Yesod's deployment manager)
stack exec -- yesod keterContext
tldr-pages: common/yesod
Revisions (0)
No revisions yet.