Created
November 25, 2011 23:35
-
-
Save philipn/1394669 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Updating to 0.2 == | |
1. Move your current localsettings.py out of the sapling directory and rename it: | |
$ mv sapling/localsettings.py sapling/../localsettings.py.bak | |
2. Activate your virtualenv: | |
$ source env/bin/activate | |
3. Install localwiki inside your virtualenv: | |
$(env) python setup.py install | |
4. Run the new initialization commands: | |
$(env) localwiki-manage init_data_dir | |
then move over your localsettings file: | |
$(env) localsettings.py.bak env/share/localwiki/conf/localsettings.py | |
run the rest of the init commands: | |
$(env) localwiki-manage init_settings | |
$(env) localwiki-manage syncdb | |
$(env) localwiki-manage migrate | |
$(env) localwiki-manage collectstatic | |
$(env) localwiki-manage reset_permissions | |
The biggest change is that site-specific user data, like uploaded images and the localsettings.py file, are now stored -inside- the virtualenv. So -do not- delete your virtualenv without first moving the share/localwiki directory out of it! :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment