- Ensure you have Elixir and Docker installed on your system.
- Fire up a postgres database with Docker
sudo docker pull postgres
sudo docker run --name chax_db -p 5432:5432 -e POSTGRES_USER=chax -e POSTGRES_PASSWORD=chaxware -d postgres
- Clone this repo
git clone https://github.com/Chaxware/backend
cd backend
- Install the dependencies
mix deps.get
- Create an Ecto connection with the database (this might also compile the app)
mix ecto.create
mix phx.server
Now you can visit localhost:4000
from your browser.