summaryrefslogtreecommitdiffstats
path: root/venv-trog.sh
diff options
context:
space:
mode:
Diffstat (limited to 'venv-trog.sh')
-rw-r--r--venv-trog.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/venv-trog.sh b/venv-trog.sh
index 4fff9c3..722f65b 100644
--- a/venv-trog.sh
+++ b/venv-trog.sh
@@ -58,11 +58,10 @@ source bin/activate
echo "### Activated."
# update local version of pip, more recent than OS version
# debian bullseye installs pip 20.3.4 which barfs, we want >22.0.3
-#echo "### installing later version of pip inside $VENAME"
-#python -m pip install --upgrade pip
+echo "### installing later version of pip inside $VENAME"
+python -m pip install --upgrade pip
PIP=pip
-sudo python -m pip install --upgrade pip
$PIP list > original-pip.list
$PIP freeze >original.txt
@@ -119,7 +118,11 @@ python --version
echo "Django version:"
django-admin --version
echo "### Now do
+ 'sudo service mysql start'
+ 'sudo service mariadb restart'
+ 'sudo mysql_secure_installation'
'cd ../$VENAME'
'source bin/activate'
'cd troggle'
+ 'python manage.py check'
'python manage.py test -v 3' " \ No newline at end of file