Parcourir la source

Add documentation on importing reference points

Baptiste Jonglez il y a 9 ans
Parent
commit
4fd859528c
1 fichiers modifiés avec 13 ajouts et 0 suppressions
  1. 13 0
      INSTALL.md

+ 13 - 0
INSTALL.md

@@ -32,6 +32,9 @@ should look like this:
     python manage.py migrate
     python manage.py migrate
     python manage.py createsuperuser
     python manage.py createsuperuser
 
 
+Production
+----------
+
 One specific information for production usage: you **really** want to serve
 One specific information for production usage: you **really** want to serve
 the `media/` directory with a real webserver, and **not** with Django itself.
 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
 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
 but since there are very few messages, it is not worth the trouble to configure
 a real message queue such as RabbitMQ.
 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
 Upgrading from the PHP version of celutz
 ----------------------------------------
 ----------------------------------------