Skip to content

muxumuxu/cocotte-rails

Repository files navigation

README

The cocotte back-end project written in RubyOnRails.

Setup

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

Guard

When you are developing a new feature or fixing something it's recomanded that you launch guard.

./scripts/guard

Deployment

Each commit on master triggers a deployment on Heroku.

Danger Enum

  • :empty, "Aucun interdit"
  • :care, "A éviter"
  • :avoid, "Faire attention"