# Revision history [back]

## Part1 - upgrading from source repository

This wiki page will have the answer.

## Part1 - upgrading from source repository

This wiki page will (shortly) have the answer.

## Part1 - upgrading from source repository

This wiki page will (shortly) have the answer.

Also, there is a separate document for the initial installation of askbot

## Part1 - upgrading from source repository

This wiki page will (shortly) have the answer.

Also, there is a separate document for the initial installation of askbot - may be useful if you do not yet have an active installation.

## Part1 - upgrading from source repository

This wiki page will (shortly) have has the answer.

Also, there is a separate document for the initial installation of askbot - may be useful if you do not yet have an active installation.

## Part1 - upgrading from source repository

This wiki pageCreate a copy of your site to be safe.

cd your-askbot-project
git checkout master  # assuming that you have been using this branch
git pull origin master  # will work if your branch has not been customized


Activate the answer.virtual environment, if you have one:

source env/bin/activate  # for example
python manage.py migrate --list  # (optional) to see if the database needs to be migrated
python manage.py migrate  # actually this command can be just run
python manage.py collectstatic  # update the collection of static files


Restart the webserver process running your application (apache/mod_wsgi, uwsgi, gunicorn - whichever you are using for your deployment).

Also, there is a separate document for the initial installation of askbot - may be useful if you do not yet have an active installation.