How to upgrade CKAN 2.0 beta site to 2.0 final

Darwin Peltan edited this page May 31, 2013 · 3 revisions

If you were on a CKAN 2.0 beta version from master or release-v2.0, you'll have files lying around from the paster-front-end-build command (or from paster minify and others) that you don't want when you're on the final release version. This is what I've been doing (this will delete any modifications or untracked files you have in the ckan dir):

. /usr/lib/ckan/MY_SITE/bin/activate
cd /usr/lib/ckan/MY_SITE/src/ckan
git clean -dfx
git reset --hard
git checkout release-v2.0
git pull

(At this point also pull the latest commits from any extensions, either the master or release-v2.0 branch depending on the extension.)

python setup.py develop
sudo service apache2 reload

(Content written by https://github.com/seanh)

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.