AMO/FlightDeck/1.0a6/ServerUpdate: Difference between revisions
< AMO | FlightDeck | 1.0a6
Jump to navigation
Jump to search
m (→Clean Up) |
m (→Update Process) |
||
| Line 15: | Line 15: | ||
# Add new SDKS | # Add new SDKS | ||
#* <pre>python ./manage.py add_core_lib jetpack-sdk-0.8</pre> | #* <pre>python ./manage.py add_core_lib jetpack-sdk-0.8</pre> | ||
#* <pre>python ./manage.py add_core_lib addon- | #* <pre>python ./manage.py add_core_lib addon-sdk-0.9</pre> | ||
= Clean Up = | = Clean Up = | ||
Revision as of 00:16, 19 November 2010
1.a6 is a major update. There were changes in database and file structure. Majority of changes will be done by simply pulling the branch, but some has to be implemented manually.
Update Process
- Copy ./flightdeck/settings_local.py to some safe space
- copy all SDKs from ./sdk_versions/ to some safe space
- Pull the staging branch first
git pull origin staging
- Copy all revisions from the safe place to ./lib/
- Edit ./settings_local.py
- from settings import *
- add there DATABASE and AUTH_DATABASE settings
- Install vendor libraries
git clone --recursive git://github.com/zalun/FlightDeck-lib.git vendor
- Call update database script
python ./scripts/update-1.0a6.py
- Initialize submodules
git submodule init && git submodule update
- Add new SDKS
python ./manage.py add_core_lib jetpack-sdk-0.8
python ./manage.py add_core_lib addon-sdk-0.9
Clean Up
Some of the directories were ignored by git before. This is a full root directory listing of the current project:
apps/ cuddlefish/ docs/ lib/ media/ requirements/ scripts/ tools/ upload/ utils/ vendor/ README __init__.py log_settings.py manage.py settings.py settings_local.py urls.py
If there is any other file or directory it is adviced to remove it.