diff options
| author | Alban Peignier | 2017-05-03 19:24:48 +0200 |
|---|---|---|
| committer | jpl | 2017-05-04 10:11:35 +0200 |
| commit | 85c6f283fb3cbff9a937ebe6d74f8ed0499c27ef (patch) | |
| tree | f527c930f8b0fd0096775664e2116cde31bb3372 | |
| parent | 76f79518a775eed8e5d06bb3580ca971c8d82bf2 (diff) | |
| download | chouette-core-85c6f283fb3cbff9a937ebe6d74f8ed0499c27ef.tar.bz2 | |
Complete INSTALL.md. Refs #3291
| -rw-r--r-- | INSTALL.md | 37 |
1 files changed, 27 insertions, 10 deletions
diff --git a/INSTALL.md b/INSTALL.md index 7bfcb7074..4e052a0db 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -27,7 +27,7 @@ Go into your local repro and install the gems bundle config build.libv8 --with-system-v8 bundle -or +or gem install libv8 -v '<version>' -- --with-system-v8 bundle @@ -65,16 +65,33 @@ When promted for the password enter the highly secure string `chouette`. bundle exec rake npm:install -### SSO Configuration +### Authentication -Get yourself an invitation to [Stif Portail](http://stif-portail-dev.af83.priv/) and be sure to update your information -on your [profile page](http://stif-portail-dev.af83.priv/users/edit) - - -# Troubleshouting +See `config.chouette_authentication_settings`. -If PG complains about illegal type `hstore` in your tests that is probably because the shared extension is not installed, here is waht to do: - - bundle exec rake db:test:purge +Use the database authentication or get an invitation to [STIF Portail](http://stif-portail-dev.af83.priv/). + +### Run seed + +Run : + + bundle exec rake db:seed + +Two users are created : stif-boiv@af83.com/secret and stif-boiv+transporteur@af83.com/secret + +If you have access to STIF CodifLigne and Reflex : + + bundle exec rake codifligne:sync + bundle exec rake reflex:sync + +To create Referential with some data (Route, JourneyPattern, VehicleJourney, etc) : + + bundle exec rake referential:create + +# Troubleshooting + +If PG complains about illegal type `hstore` in your tests that is probably because the shared extension is not installed, here is what to do: + + bundle exec rake db:test:purge Thanks to `lib/tasks/extensions.rake`. |
