Browse Source

Add documentation on importing reference points

Baptiste Jonglez 9 years ago
parent
commit
4fd859528c
1 changed files with 13 additions and 0 deletions
  1. 13 0
      INSTALL.md

+ 13 - 0
INSTALL.md

@@ -32,6 +32,9 @@ should look like this:
     python manage.py migrate
     python manage.py createsuperuser
 
+Production
+----------
+
 One specific information for production usage: you **really** want to serve
 the `media/` directory with a real webserver, and **not** with Django itself.
 Hundreds of tiles (small image files) will be served from this directory each
@@ -60,6 +63,16 @@ a celery woker to generate tiles for a panorama.  This is far from efficient,
 but since there are very few messages, it is not worth the trouble to configure
 a real message queue such as RabbitMQ.
 
+Importing reference points
+--------------------------
+
+Gathering reference points can be a bit of a hassle.
+
+Some reference points are provided alongside celutz, in `panorama/fixtures`.
+To import one set of reference points into the database, run:
+
+    python manage.py loaddata refpoints_mycity
+
 Upgrading from the PHP version of celutz
 ----------------------------------------