- If you haven't already, install Stack
- On POSIX systems, this is usually
curl -sSL https://get.haskellstack.org/ | sh
- On POSIX systems, this is usually
- Set environment variables:
API_PORT=9000
EKG_PORT=9001
ENV=Dev
AUTH_API=http://localhost:9011/api/ # assumes that FusionAuth is listening there
- Run server:
stack run
Alternatively, do it in one go:
$ API_PORT=9000 EKG_PORT=9001 ENV=Dev AUTH_API=http://localhost:9011/api/ stack run
Starting server at http://localhost:9000
$ stack build --fast --file-watch --exec=clear