mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-26 02:12:16 +03:00
yesod: add page (#1302)
This commit is contained in:
parent
8f1b910ef6
commit
a409df6f28
24
pages/common/yesod.md
Normal file
24
pages/common/yesod.md
Normal file
@ -0,0 +1,24 @@
|
||||
# yesod
|
||||
|
||||
> A framework to develop Haskell web applications.
|
||||
> All yesod commands are invoked through the `stack` project manager.
|
||||
|
||||
- Create a new scaffolded site with sqlite as backend in `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`
|
Loading…
Reference in New Issue
Block a user