AMO/FlightDeck/1.0a6/ServerUpdate
< AMO | FlightDeck | 1.0a6
Jump to navigation
Jump to search
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.