2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-24 16:21:53 +00:00

more local fixups

This commit is contained in:
Expo laptop Crowley 2023-07-05 12:49:30 +02:00
parent 7268eb4f30
commit fd9f21de2e
3 changed files with 15 additions and 13 deletions

View File

@ -173,8 +173,8 @@ sys.path.append(str(PYTHON_PATH))
# Sanitise these to be strings as all other code is expecting strings # 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. # and we have not made the change to pathlib Path type in the other localsettings-* variants yet.
CAVEDESCRIPTIONS = os.fspath(CAVEDESCRIPTIONS) #CAVEDESCRIPTIONS = os.fspath(CAVEDESCRIPTIONS)
ENTRANCEDESCRIPTIONS = os.fspath(ENTRANCEDESCRIPTIONS) #ENTRANCEDESCRIPTIONS = os.fspath(ENTRANCEDESCRIPTIONS)
STATIC_URL = str(STATIC_URL) + "/" STATIC_URL = str(STATIC_URL) + "/"
MEDIA_URL = str(MEDIA_URL) + "/" MEDIA_URL = str(MEDIA_URL) + "/"

View File

@ -1,19 +1,21 @@
asgiref==3.6.0 asgiref==3.7.0
black==23.1.0 beautifulsoup4==4.12.0
black==23.3.0
click==8.1.3 click==8.1.3
coverage==7.1.0 coverage==7.2.0
Django==4.2 Django==4.2
docutils==0.19 docutils==0.20
isort==5.12.0 isort==5.12.0
mypy-extensions==1.0.0 mypy-extensions==1.0.0
packaging==23.0 packaging==23.0
pathspec==0.11.0 pathspec==0.11.0
Pillow==9.4.0 Pillow==10.0.0
pkg_resources==0.0.0 pkg_resources==0.0.0
platformdirs==3.0.0 platformdirs==3.8.0
pytz==2022.7 pytz==2023.3
ruff==0.0.245 ruff==0.0.245
sqlparse==0.4.3 soupsieve==2.4.1
sqlparse==0.4.0
tomli==2.0.1 tomli==2.0.1
typing_extensions==4.7.1 typing_extensions==4.7.1
Unidecode==1.3.6 Unidecode==1.3.6

View File

@ -90,7 +90,7 @@ fi
echo "### Setting file permissions.. may take a while.." echo "### Setting file permissions.. may take a while.."
git config --global --add safe.directory '*' git config --global --add safe.directory '*'
sudo chmod -R 0777 * #sudo chmod -R 0777 *
echo "### links to expoweb, troggle etc. complete:" echo "### links to expoweb, troggle etc. complete:"
ls -tla ls -tla
@ -136,7 +136,7 @@ cp fresh-requirements.txt ../requirements.txt
mv fresh-requirements.txt $REQ mv fresh-requirements.txt $REQ
cp troggle/`basename "$0"` $REQ cp troggle/`basename "$0"` $REQ
exit 1
$PYTHON --version $PYTHON --version
python --version python --version
echo "Django version:`django-admin --version`" echo "Django version:`django-admin --version`"
@ -159,7 +159,7 @@ echo "### Now do
# Ran 85 tests in 83.492s # Ran 85 tests in 83.492s
# FAILED (failures=5) # FAILED (failures=5)
## So you will need to run ## 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) # and then REBOOT (or at least, exit WSL and terminate and restart WSL)
# because this chmod only takes effect then. # because this chmod only takes effect then.