diff options
Diffstat (limited to 'INSTALL.md')
| -rw-r--r-- | INSTALL.md | 39 | 
1 files changed, 25 insertions, 14 deletions
| diff --git a/INSTALL.md b/INSTALL.md index 6e497b580..45624e30b 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -38,7 +38,6 @@ Then install yarn (`brew install yarn` does nicely on macOS).          bundle  or -          gem install libv8 -v '<version>' -- --with-system-v8          bundle @@ -101,32 +100,44 @@ When promted for the password enter the highly secure string `chouette`.        bundle exec rake npm:install -#### Check installation +### Authentication -* Run tests +See `config.chouette_authentication_settings`. -      bundle exec rake spec -      bundle exec rake teaspoon +Use the database authentication or get an invitation to [STIF Portail](http://stif-portail-dev.af83.priv/). -* Start local server +### Run seed -      bundle exec rails server +Run : -### Authentication +      bundle exec rake db:seed -See `config.chouette_authentication_settings`. +Two users are created : stif-boiv@af83.com/secret and stif-boiv+transporteur@af83.com/secret -Use the database authentication or get an invitation to [STIF Portail](http://stif-portail-dev.af83.priv/). +If you have access to STIF CodifLigne and Reflex : -### Run seed +      bundle exec rake codifligne:sync +      bundle exec rake reflex:sync +To create Referential with some data (Route, JourneyPattern, VehicleJourney, etc) : -#### Basic Database Content +      bundle exec rake referential:create -      bundle exec rake db:seed +# 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: + +#### Check installation + +* Run tests + +      bundle exec rake spec +      bundle exec rake teaspoon + +* Start local server + +      bundle exec rails server -Two users are created : stif-boiv@af83.com/secret and stif-boiv+transporteur@af83.com/secret  #### Synchronize With STIF | 
