To start your Phoenix server:
- Run
mix setup
to install and setup dependencies - Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
Now you can visit localhost:4000
from your browser.
docker compose up
Now you can visit:
localhost:7000
(primary)localhost:7001
(replica)
To see the contents of the db:
sudo docker ps
- find container id
sudo docker exec –it <container id> /bin/bash
sqlite3 /litefs/trees.db