From 515a639fd0c633acf4e4599b44e418d91b8b995b Mon Sep 17 00:00:00 2001 From: "Philip Sargent (laptop)" Date: Thu, 13 May 2021 00:10:53 +0300 Subject: [PATCH] update re git commit within testsuite --- README.txt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 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