Skip to content
Benbb96 edited this page Feb 15, 2020 · 10 revisions

How to update?

  • Commit changes (prefer squashing) and push onto the master branch
  • On the bash console from pythonanywhere.com, activate the virtual env
    workon benbb96
  • cd benbb96
  • git pull
  • pip install -r requirements/prod.txt
  • python manage.py migrate
  • python manage.py collectstatic --noinput
  • Update the secrets.json if secret settings has been added or updated
  • Reload the site from the web interface of pythonanywhere
Clone this wiki locally