Ask Your Question
1

How to upgrade askbot?

asked 2010-06-10 18:24:26 -0600

Evgeny gravatar image

How to upgrade askbot, what should I do if I already have a running installation?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2010-06-10 18:25:52 -0600

Evgeny gravatar image

updated 2012-07-24 17:15:35 -0600

Part1 - upgrading from source repository

Create 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 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.

edit flag offensive delete link more

Comments

The wiki link is broken.

Joseph gravatar imageJoseph ( 2012-07-24 17:00:19 -0600 )edit

We'll need to write up the document, wiki will be taken down because it's hard to keep in sync with the code, also documentation for previous versions cannot be accessed unless wiki is maintained in some special way.

Evgeny gravatar imageEvgeny ( 2012-07-24 17:06:02 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

3 followers

Stats

Asked: 2010-06-10 18:24:26 -0600

Seen: 523 times

Last updated: Jul 24 '12