The cocotte back-end project written in RubyOnRails.
You must install Docker
Next, generates docker images with docker-compose build
.
Create the database and run migrations :
docker-compose run web rails db:create db:migrate
Run the initial import that fetch data from our competitor :
docker-compose run web rails initial_import:import
You can launch the server using :
scripts/up
And stop it using :
scripts/stop
When you are developing a new feature or fixing something it's recomanded that you launch guard.
./scripts/guard
Each commit on master
triggers a deployment on Heroku.
- :empty, "Aucun interdit"
- :care, "A éviter"
- :avoid, "Faire attention"