mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 11:28:23 +00:00
moved to handbook
This commit is contained in:
46
README.txt
46
README.txt
@@ -59,52 +59,6 @@ Conventionally on our main master expo server we install everything that we can
|
||||
|
||||
[venv description removed - read it in http://expo.survex.com/handbook/troggle/troglaptop.html ]
|
||||
|
||||
|
||||
Testing the django installation
|
||||
-------------------------------
|
||||
|
||||
|
||||
So now rename one of the relevant platform files, e.g. if you are on WSL on Windows:
|
||||
$ mv localsettingsWSl.py localsettings.py
|
||||
|
||||
|
||||
otherwise, if you are on debian:
|
||||
$ cp _deploy/debian/localsettings.py .
|
||||
|
||||
The git repo copies have got munged passwords.
|
||||
localsettings.py is not stored in git, but does have the correct passwords.
|
||||
So use sFTP to download localsettings.py from expo.survex.com
|
||||
|
||||
WARNING: only the WSL and debian variants are current in May 2021. All the others are so old that
|
||||
they will need serious work to be useable. Copy what you need from WSL and debian variants of
|
||||
localsettings.py
|
||||
|
||||
|
||||
|
||||
Now you need to edit the following settings in your localsettings.py file to match your
|
||||
development machine:
|
||||
|
||||
FILES = Path('/mnt/f/expofiles/')
|
||||
EXPOFILES = Path('/mnt/f/expofiles/')
|
||||
|
||||
All the other settings (drawings, expoweb etc.) will work fine if they are parallel directories
|
||||
to the directory you installed troggle into. The troggle code can find out itself where it
|
||||
is living.
|
||||
|
||||
If you do not have a local copy of /expofiles/ (40 GB), you can use the expo server copy if
|
||||
you set:
|
||||
EXPOFILESREMOTE = TRUE
|
||||
and then the FILES and EXPOFILES setings will be ignored.
|
||||
|
||||
You will probably want to change the various EMAIL settings too.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
If yo have run the test suite several times you will need to undo several commits (and delete the files producd by the test suite).
|
||||
|
||||
|
||||
CSS and media files
|
||||
-------------------
|
||||
Temporarily we are not using the STATICFILES capability but are instead
|
||||
|
||||
Reference in New Issue
Block a user