Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 649 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 649 Bytes

Chax Backend

Setup

  1. Ensure you have Elixir and Docker installed on your system.
  2. 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
  1. Clone this repo
git clone https://github.com/Chaxware/backend
cd backend
  1. Install the dependencies
mix deps.get
  1. Create an Ecto connection with the database (this might also compile the app)
mix ecto.create

Run

mix phx.server

Now you can visit localhost:4000 from your browser.