update.sh 298 B

1234567891011
  1. #!/bin/bash
  2. cd $(dirname $0)
  3. git checkout .
  4. git pull
  5. source ./venv/bin/activate
  6. pip install --disable-pip-version-check -r requirements.txt --no-cache
  7. ./manage.py collectstatic --noinput
  8. ./manage.py makemigrations
  9. ./manage.py migrate
  10. touch ./project_base/wsgi.py
  11. #./manage.py compilemessages -l de