diff options
| -rw-r--r-- | INSTALL.md | 39 | ||||
| -rw-r--r-- | spec/javascripts/time_table/actions_spec.js | 1 | 
2 files changed, 25 insertions, 15 deletions
| diff --git a/INSTALL.md b/INSTALL.md index 899654a25..82f9f5779 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -28,7 +28,6 @@ Go into your local repro and install the gems          bundle  or -          gem install libv8 -v '<version>' -- --with-system-v8          bundle @@ -78,32 +77,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/javascripts/time_table/actions_spec.js b/spec/javascripts/time_table/actions_spec.js index a7344586d..00acac0d1 100644 --- a/spec/javascripts/time_table/actions_spec.js +++ b/spec/javascripts/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', | 
