1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/yesod.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

25 lines
679 B
Markdown

# 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-ghc`
- Start development server:
`stack exec -- yesod devel`
- Touch files with altered Template Haskell dependencies:
`stack exec -- yesod touch`
- Deploy application using Keter (Yesod's deployment manager):
`stack exec -- yesod keter`