summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Sargent (laptop) <philip.sargent@gmail.com>2021-05-13 00:10:53 +0300
committerPhilip Sargent (laptop) <philip.sargent@gmail.com>2021-05-13 00:10:53 +0300
commit515a639fd0c633acf4e4599b44e418d91b8b995b (patch)
tree332481dd3c0a45a606a95e877f3c70d55993ea2c
parent450375190779523036cbfde379a37b64162708e9 (diff)
downloadtroggle-515a639fd0c633acf4e4599b44e418d91b8b995b.tar.gz
troggle-515a639fd0c633acf4e4599b44e418d91b8b995b.tar.bz2
troggle-515a639fd0c633acf4e4599b44e418d91b8b995b.zip
update re git commit within testsuite
-rw-r--r--README.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/README.txt b/README.txt
index a1c5f5c..1648966 100644
--- a/README.txt
+++ b/README.txt
@@ -148,6 +148,9 @@ You will get this error if everything is OK: (error: No module named 'localsett
So now rename one of the relevant platform files, e.g. if you are on WSL on Windows:
$ mv localsettingsWSl.py localsettings.py
+The git repo copies have got munged passwords.
+So use sFTP to download the copies from expo.survex.com
+
otherwise, if you are on debian:
$ cp _deploy/debian/localsettings.py .
@@ -158,7 +161,7 @@ localsettings.py
Now try this again:
$ python manage.py
-and in addiiton to the [django] command list, you will now gets command lsists for [auth],
+and in additon to the [django] command list, you will now gets command lsists for [auth],
[contenttypes], [core], and [sessions]. These are the modules (plugins) loaaded into django.
[core] is the core of troggle (but not all of it: the input file parsers are not in [core]).
@@ -223,10 +226,18 @@ cd ../expoweb/folk
python ../scripts/make-folklist.py <folk.csv >index.htm
cd ../../troggle
+Or just sFTP a copy from expo.survex.com
+
and run the tests again:
python manage.py test -v 2
+Yeah if you were paying attention, you will see that this has done a git commit for a test file
+in the drawings repo locally.
+Sorry about that. the test harness does not yet undo that. So you will need ot manually reverse that commit: go into your favourite git tool. In VS code the command is Commit: Undo last commit
+
+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).
+
Registering troggle as a django application
-------------------------------------------
In your troggle directory run