diff options
| author | Alban Peignier | 2017-05-03 19:24:48 +0200 | 
|---|---|---|
| committer | Alban Peignier | 2017-05-03 19:25:14 +0200 | 
| commit | c697909ed7acedf020c695440cdf44b0332dbb35 (patch) | |
| tree | 7de7fb801c8a62e39fd8d3c33fd17156e0425528 /INSTALL.md | |
| parent | 1dd229532976f628270900fa76183fad4be67f19 (diff) | |
| download | chouette-core-c697909ed7acedf020c695440cdf44b0332dbb35.tar.bz2 | |
Complete INSTALL.md. Refs #3291
Diffstat (limited to 'INSTALL.md')
| -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`. | 
