diff options
| -rw-r--r-- | INSTALL.md | 39 | ||||
| -rw-r--r-- | spec/javascript/time_table/actions_spec.js | 1 | 
2 files changed, 25 insertions, 15 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 diff --git a/spec/javascript/time_table/actions_spec.js b/spec/javascript/time_table/actions_spec.js index 9c1a6b6f1..003b7f6b5 100644 --- a/spec/javascript/time_table/actions_spec.js +++ b/spec/javascript/time_table/actions_spec.js @@ -61,7 +61,6 @@ describe('actions', () => {      expect(actions.unselect2Tags(selectedItem)).toEqual(expectedAction)    }) -    it('should create an action to go to previous page', () => {      let pagination = {        currentPage: '2017-01-01', | 
