Skip to content

etalab/formulaire-qf

Repository files navigation

README

Pour l'API, consulter le swagger

Install project

Database setup

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

  • config/master.key (optional for dev)
  • config/credentials/development.key
  • config/credentials/test.key

Then execute:

./bin/install.sh
bundle install
rails s

Then you can visit localhost:3000

Run the tests

bundle exec rspec
bundle exec cucumber

You can also use Guard to run the test of the last saved file :

bundle exec guard

Linter autocorrect

bundle exec rubocop -A

Tools for remote server

You have to be added on servers to use these binaries.

Usage: bin/script [ENV]

# `less` on logs
bin/explore-remote-logs
# remote rails console
bin/remote-console
# `tail -f` on logs
bin/stream-remote-logs

Connect on sandbox

For https://sandbox.quotient-familial.numerique.gouv.fr/, use the following credentials:

  • login : test
  • password : 123

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published