First time here? Check out the FAQ!
1

How to upgrade askbot?
 

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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
asked 14 years ago

Comments

see more comments

1 Answer

3

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 14 years ago, updated 12 years ago
link

Comments

The wiki link is broken.

Joseph's avatar Joseph (12 years ago)

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's avatar Evgeny (12 years ago)
see more comments