Parcourir la source

Document celutz settings

Baptiste Jonglez il y a 8 ans
Parent
commit
c3c4ae22f2
1 fichiers modifiés avec 7 ajouts et 1 suppressions
  1. 7 1
      INSTALL.md

+ 7 - 1
INSTALL.md

@@ -37,13 +37,19 @@ Configuration
 To configure the application, don't edit `celutz/settings.py` directly, but
 instead create a file `celutz/local_settings.py` with your local modifications.
 
-Some things you should (must?) configure:
+Some Django things you should really configure:
 
 - `SECRET_KEY`
 - `ALLOWED_HOSTS`
 - `DEBUG`
 - database configuration
 
+There are also celutz-specific settings:
+
+- `LOGIN_REQUIRED`: is celutz public or are users required to login first?
+- `PANORAMA_TILES_DIR`: where the tiles are, relatively to `MEDIA_ROOT` and `MEDIA_URL`
+- `PANORAMA_MAX_DISTANCE`: maximum distance (in meters) after which reference points are considered to be too far away
+
 Then run the migrations:
 
     python manage.py migrate