To build this backend follow the following
- Clone this repository by running
git clone git@github.com:cambiatus/backend.git - Change directory into the new repository by
cd backend - Install dependencies by running
mix deps.get - Create a database by running
mix ecto.createyou may need to change the values inconfig/test.exsandconfig/dev.esfor this to work. Specifically the database user and password - Run the current database migrations using
mix ecto.migrate - Run tests by running the test command as
mix testideally this should exit with a status of 0 - Run the server using
mix phx.server
#Boom! and you can now hack away!
- implement git hooks for contributors to ensure stability