Glides for Heavy Rail
- Homebrew (installation directions)
- Postgres:
brew install postgresql
- Brew may ask you to upgrade your database upon installation:
brew postgresql-upgrade-database
- Start Postgres with
brew services start postgresql
- If this is the first time you've used it, you may need to create a database. Run
createdb
- Brew may ask you to upgrade your database upon installation:
- asdf:
brew install asdf
asdf install
- You may need to run
asdf plugin add
some oferlang
,elixir
, ornodejs
first.
- You may need to run
asdf install
mix setup
Run the server with mix phx.server
.
Now you can visit localhost:4000
from your browser.
To run the Docker container locally, run docker compose up --build
.
Find what port the server is using with docker compose ps
,
and then visit localhost:<port>
.