Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

incubateur-ademe/Ecolab

Repository files navigation

Ecolab

Ecolab est un service lancé par l'ADEME et Beta.gouv pour apporter l'information environnementale au plus près des citoyens.

Nos autres dépôts sont :

N'hésitez pas à les regarder, nous faire part de vos retours et même de vos contributions !

For developers

Rails app generated with lewagon/rails-templates, created by the Le Wagon coding bootcamp team.

To get it running :

Install ruby, e.g. using rbenv.

rbenv install [ruby version] the ruby version is specified in .ruby-version.

Install nodejs, e.g. using NVM.

Install Yarn.

Install postgresql. For ubuntu, run :

sudo apt install -y postgresql postgresql-contrib libpq-dev build-essential
sudo -u postgres psql --command "CREATE ROLE `whoami` LOGIN createdb;"

Run bin/setup. This script will setup the Rails app for you, including loading the database.

Finally, rails server will let you use the app at localhost:3000 😎.