mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-25 08:41:51 +00:00
update re git commit within testsuite
This commit is contained in:
parent
4503751907
commit
515a639fd0
13
README.txt
13
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
|
||||
|
Loading…
Reference in New Issue
Block a user