use overmind to start everything

This commit is contained in:
Daniel Barlow 2024-11-27 17:48:58 +00:00
parent b635c9f5a1
commit 621055e2df
2 changed files with 7 additions and 0 deletions

5
Procfile Normal file
View File

@ -0,0 +1,5 @@
db: trap 'docker stop souplesse-postgres' EXIT > /dev/null; docker run --rm -p 5432:5432 --name souplesse-postgres -e POSTGRES_USER=souplesse -e POSTGRES_PASSWORD=secret postgres
psql: nix-shell -p postgresql --run "psql -h localhost -U souplesse -p 5432"
build: git ls-files | entr make
elm-repl: elm repl
serve: cabal run

View File

@ -11,9 +11,11 @@ let
]);
};
in haskellEnv.overrideAttrs(o: {
OVERMIND_AUTO_RESTART = "all";
buildInputs = o.buildInputs ++
(with pkgs.elmPackages; [
pkgs.entr
pkgs.overmind
elm
elm-format
elm-optimize-level-2