Skip to content
Michael Snoyman edited this page Jul 4, 2018 · 5 revisions

Welcome to the stack-templates wiki! This Wiki is intended to provide access to information on common templates you may wish to use. We're in the process of converting over to this Wiki from the original stack templates approach used in Stack 1.7 and earlier. You can still find information on the original templates at:

https://github.com/commercialhaskell/stack-templates/blob/master/template-info.yaml

Or check out the raw list of templates available from commercialhaskell at:

https://github.com/commercialhaskell/stack-templates

Using the templates

The commands below require the (not yet release) Stack 1.8. If the template identifier is template-id, you can create a project called myproj with:

$ stack new myproj template-id

Command line applications

  • rio: provides a library, executable, and test suite based on the rio library. Provides built in logging and command line parsing support.

Web apps

Yesod

Yesod provides many different flavors of its scaffold depending on which database—if any—you wish to use.

  • yesodweb/postgres
  • yesodweb/mysql
  • yesodweb/sqlite
  • yesodweb/mongo
  • yesodweb/simple- no database at all, and no authentication support
  • yesodweb/minimal- bare bones scaffold, also doesn't support yesod devel
Clone this wiki locally