Skip to content

etalab/formulaire-qf

Repository files navigation

README

Install project

Database setup

Ask a dev for the 3 keys necessary to decrypt the secrets :

  • config/master.key
  • config/credentials/development.key
  • config/credentials/test.key

Get the credentials for the db like this (we'll call them theuser and thepassword)

rails credentials:show

Then enter the psql command line

sudo su - postgres

psql

Create the superuser with the credentials you got before

> CREATE ROLE theuser WITH SUPERUSER CREATEDB LOGIN PASSWORD 'thepassword';

Then exit the psql command line, and run

rails db:setup

Run the dev server

bundle install
raisl assets:precompile
rails s

Then you can visit localhost:3000

Run the tests

rspec

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published