activate the venv in the run script

This commit is contained in:
Andreas Zweili 2020-10-05 20:42:50 +02:00
parent 4bdda5491a
commit 5e4ae8840e
1 changed files with 1 additions and 0 deletions

1
run.sh
View File

@ -1,3 +1,4 @@
source ./venv/bin/activate
export DJANGO_SETTINGS_MODULE=sensors.settings.production
./manage.py migrate
./collector.sh &