aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL.md
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md39
1 files changed, 38 insertions, 1 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 4e052a0db..1d5badb79 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -9,7 +9,7 @@ and install that version.
Example with [rvm](https://rvm.io/):
- rvm install 2.3.0
+ rvm install 2.3.1
Add the bundler gem
@@ -92,6 +92,43 @@ To create Referential with some data (Route, JourneyPattern, VehicleJourney, etc
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
+
+
+#### Synchronize With STIF
+
+If you have access to STIF CodifLigne and Reflex :
+
+* Launch Sidekiq
+
+ bundle exec sidekiq
+
+* Execute the Synchronization Tasks
+
+ bundle exec rake codifligne:sync
+ bundle exec rake reflex:sync
+
+**N.B.** These are asynchronious tasks, you can observe the launched jobs in your [Sidekiq Console](http://localhost:3000/sidekiq)
+
+#### Data in various Apartments (Referentials)
+
+To create `Referential` objects with some data (`Route`, `JourneyPattern`, `VehicleJourney`, etc) :
+
+ bundle exec rake referential:create
+
+# Troubleshooting
+
+If Postgres 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`.