mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-25 08:41:51 +00:00
Merge branch 'master' of ssh://expo.survex.com/home/expo/troggle
This commit is contained in:
commit
067fcd9892
@ -173,8 +173,8 @@ sys.path.append(str(PYTHON_PATH))
|
||||
|
||||
# Sanitise these to be strings as all other code is expecting strings
|
||||
# and we have not made the change to pathlib Path type in the other localsettings-* variants yet.
|
||||
CAVEDESCRIPTIONS = os.fspath(CAVEDESCRIPTIONS)
|
||||
ENTRANCEDESCRIPTIONS = os.fspath(ENTRANCEDESCRIPTIONS)
|
||||
#CAVEDESCRIPTIONS = os.fspath(CAVEDESCRIPTIONS)
|
||||
#ENTRANCEDESCRIPTIONS = os.fspath(ENTRANCEDESCRIPTIONS)
|
||||
|
||||
STATIC_URL = str(STATIC_URL) + "/"
|
||||
MEDIA_URL = str(MEDIA_URL) + "/"
|
||||
|
@ -1,19 +1,21 @@
|
||||
asgiref==3.6.0
|
||||
black==23.1.0
|
||||
asgiref==3.7.0
|
||||
beautifulsoup4==4.12.0
|
||||
black==23.3.0
|
||||
click==8.1.3
|
||||
coverage==7.1.0
|
||||
coverage==7.2.0
|
||||
Django==4.2
|
||||
docutils==0.19
|
||||
docutils==0.20
|
||||
isort==5.12.0
|
||||
mypy-extensions==1.0.0
|
||||
packaging==23.0
|
||||
pathspec==0.11.0
|
||||
Pillow==9.4.0
|
||||
Pillow==10.0.0
|
||||
pkg_resources==0.0.0
|
||||
platformdirs==3.0.0
|
||||
pytz==2022.7
|
||||
platformdirs==3.8.0
|
||||
pytz==2023.3
|
||||
ruff==0.0.245
|
||||
sqlparse==0.4.3
|
||||
soupsieve==2.4.1
|
||||
sqlparse==0.4.0
|
||||
tomli==2.0.1
|
||||
typing_extensions==4.7.1
|
||||
Unidecode==1.3.6
|
||||
|
@ -90,7 +90,7 @@ fi
|
||||
|
||||
echo "### Setting file permissions.. may take a while.."
|
||||
git config --global --add safe.directory '*'
|
||||
sudo chmod -R 0777 *
|
||||
#sudo chmod -R 0777 *
|
||||
|
||||
echo "### links to expoweb, troggle etc. complete:"
|
||||
ls -tla
|
||||
@ -136,7 +136,7 @@ cp fresh-requirements.txt ../requirements.txt
|
||||
mv fresh-requirements.txt $REQ
|
||||
cp troggle/`basename "$0"` $REQ
|
||||
|
||||
exit 1
|
||||
|
||||
$PYTHON --version
|
||||
python --version
|
||||
echo "Django version:`django-admin --version`"
|
||||
@ -159,12 +159,11 @@ echo "### Now do
|
||||
# Ran 85 tests in 83.492s
|
||||
# FAILED (failures=5)
|
||||
## So you will need to run
|
||||
$sudo chown -Rhv philip:philip ~/$VENAME (if your username is philip)
|
||||
#$sudo chown -Rhv philip:philip ~/$VENAME (if your username is philip)
|
||||
# and then REBOOT (or at least, exit WSL and terminate and restart WSL)
|
||||
# because this chmod only takes effect then.
|
||||
|
||||
'python manage.py test -v 2'
|
||||
'./pre-run.sh' (runs the tests again)
|
||||
'./pre-run.sh' (runs the migrations and then the tests)
|
||||
|
||||
'python databaseReset.py reset $VENAME'
|
||||
'python manage.py runserver 0.0.0.0:8000 (and allow access when the firewall window pops up)'
|
||||
|
Loading…
Reference in New Issue
Block a user