diff options
Diffstat (limited to 'README.txt')
-rw-r--r-- | README.txt | 30 |
1 files changed, 12 insertions, 18 deletions
@@ -1,4 +1,4 @@ -Updated 23 October 2021 +Updated 19 February 2022 Troggle is an application for caving expedition data management, originally created for use on Cambridge University Caving Club (CUCC)expeditions @@ -74,8 +74,14 @@ creates a barrier in itself. This is one reason most of us don't use Docker. CSS and media files ------------------- -Temporarily we are not using the STATICFILES capability but are instead -serving css files from troggle/media/.. (see urls.py) using +We are not using the STATICFILES capability. +We are serving css files from troggle/media/.. (see urls.py) + +Plain CSS pages +--------------- +When running the test server +manage.py runserver 0.0.0.0:8000 +and without Apache running, we are serving CSS using using this Django 'view': view_surveys.cssfilessingle i.e. cssfilessingle() in core/view_surveys.py @@ -175,20 +181,8 @@ WSGIScriptAlias / /home/expo/troggle/wsgi.py </Files> </Directory> -Alias /expofiles /home/expo/expofiles -Alias /photos /home/expo/webphotos -Alias /map /home/expo/expoweb/map -Alias /javascript /usr/share/javascript -Alias /static/ /home/expo/static/ -ScriptAlias /repositories /home/expo/config/apache/services/hgweb/hgweb.cgi - -(The last is just for mercurial which will be remoived during 2020). - -These two are not necessary as Django will serve these (see urls.py), but -it may be faster for apache to serve them first: -Alias /expofiles /home/expo/expofiles -Alias /static/ /home/expo/static/ - +the instructions for apache Alias commands are in comments at the end of +the urls.py file. Unlike the django "manage.py runserver" method, apache requires a restart before it will use any changed files: @@ -205,7 +199,7 @@ olly: ExecReload=/usr/sbin/apachectl graceful Experimental additions ---------------------- -These are untried tools which help us document how troggle works. +These are untried tools which may help us document how troggle works in future. pip install pygraphviz pip install pyparsing pydot # installs fine |