Phoenix application to rate tech companies according to how diverse friendly they are. Inspired by techleaks.org.
This project is Docker friendly from day one. To start working on it:
- Setup the web container with
docker-compose build web
- Install dependencies with
docker-compose run web mix deps.get
- Create your database with
docker-compose run web mix ecto.create
- Migrate your database with
docker-compose run web mix ecto.migrate
- Install Node.js dependencies with
docker-compose run web sh -c "cd assets; npm install"
- Start the application with
docker-compose up
This step assumes you already followed instructions from previous paragraph.
- Create your testing database with
docker-compose run web env MIX_ENV=test mix ecto.create
- Migrate your testing database with
docker-compose run web env MIX_ENV=test mix ecto.migrate
- Run the test suite with
mix test
This project was developed by dreamingechoes. It adheres to its code of conduct and contributing guidelines, and uses an equivalent license.