souplesse

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 621055e2dfd8dc47986b4a0cff4de7e37cbf421a
parent b635c9f5a1de6e88cf5282cf7054b58a3510146e
Author: Daniel Barlow <dan@telent.net>
Date:   Wed, 27 Nov 2024 17:48:58 +0000

use overmind to start everything

Diffstat:
AProcfile | 5+++++
Mdefault.nix | 2++
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/Procfile b/Procfile @@ -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 diff --git a/default.nix b/default.nix @@ -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