aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL.md
diff options
context:
space:
mode:
authorRobert2017-05-09 17:01:16 +0200
committerRobert2017-05-09 17:01:16 +0200
commit1c9e056f078e89ddfbe1d3c06ce00a4035d4ef98 (patch)
treeaec4a6003c02c8e12055a5df5c6b41abed4aaa70 /INSTALL.md
parent85c6f283fb3cbff9a937ebe6d74f8ed0499c27ef (diff)
parentc007b5f1442b903948373337a6cc7d7d42364b41 (diff)
downloadchouette-core-1c9e056f078e89ddfbe1d3c06ce00a4035d4ef98.tar.bz2
Manual Conflict Resolution
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`.