Skip to content

21it/stack-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stack-templates

logo

Features

  • Pure and declarative environments
  • Auto-generated CI scripts
  • Automated builds of thin Docker images
  • Ultimate Haskell IDE

Prerequisites

  • Docker

  • Stack (with following ~/.stack/config.yaml)

templates:
  params:
    author-email: tkachuk.labs@gmail.com
    author-name: Ilja Tkachuk
    category: Data
    copyright: "2021 Tkachuk Labs [https://tkachuklabs.gitlab.io]"
    github-username: tkachuk-labs
    organization: tkachuk-labs

Templates

  • nix-yesod classic yesod application
  • nix-concur-replica experimental live view application

Usage

stack new hello-world github:tkachuk-labs/nix-yesod -p env-prefix:HELLO_WORLD

cd ./hello-world

git init

chmod a+x ./nix/*.sh

./nix/shell.sh

stack test --fast

vi .

Known issues

  • In some cases Postgres can't use local ./postgres directory because of permission restrictions. The fix is to manually remove directory with rm -rf ./postgres, and rerun command which caused the issue. Nix will create directory again with proper permissions.
  • Ultimate Haskell IDE has some known issues as well.

Made with ❤️ by tkachuk.labs

About

Project templates for stack new http://haskellstack.org

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published