Kjógvi 1
-
Start the PostgreSQL database server:
docker compose up -d
Database runs on port 5498, see the
compose.yaml
file for credentials. -
Install the dependencies:
mix deps.get
-
Start the server:
iex -S mix phx.server
Application will be available on http://localhost:4000.
-
When run first time, you will be prompted to run the migrations.
-
To setup admin user, find the setup code in the logs.
-
Create the test DB:
MIX_ENV=test mix ecto.setup
-
Run the tests:
mix test
Footnotes
-
Pronounced [ˈtʃɛkvɪ]. ↩