Created
September 8, 2021 17:16
-
-
Save domenkozar/0c80fae749ba886b3140bb7c5978480d to your computer and use it in GitHub Desktop.
Foreman
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
postgresql: docker run --rm --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=$POSTGRES_PASSWORD -v $PWD/nix/postgres-data:/var/lib/postgresql/data postgres:13 | |
backend: cd backend && ghcid --command "(stack build && stack --no-install-ghc --system-ghc --nix repl --load --ghci-options=-fbyte-code --no-nix-pure cachix-server:exe:cachix-server cachix-server:lib)" --test Main.main --restart stack.yaml --restart cachix-server.cabal --restart schema.sql --setup ":set args serve dev.dhall" --warnings | |
frontend: cd frontend && nix-shell --run "yarn serve" | |
ngrok: ngrok start --all --config ngrok.yml --config ~/.ngrok2/ngrok.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment