Upgrade - cyliang/covart-web GitHub Wiki

Upgrade

This page describes what to do when pulling a new revision. Before any operation, remember to activate the virtual environment first.

Install Dependent Packages

$ pip install -r requirements.txt

Re-collect Static Files

$ python manage.py collectstatic

Migrate Database

$ python manage.py migrate

Reload the Application

If you're using a web server, such as mentioned Apache, to host your website application, unlike development server that usually automatically reload the source code, you have to perform some action to notify the web server to reload the website application.

Check this if you're using Apache with mod_wsgi and daemon process to host your website.