AMO/FlightDeck/1.0a6/ServerUpdate

From MozillaWiki
< 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

  1. Copy ./flightdeck/settings_local.py to some safe space
  2. copy all SDKs from ./sdk_versions/ to some safe space
  3. Pull the staging branch first
    git pull origin staging
  4. Copy all revisions from the safe place to ./lib/
  5. Edit ./settings_local.py
    • from settings import *
    • add there DATABASE and AUTH_DATABASE settings
  6. Install vendor libraries
    git clone --recursive git://github.com/zalun/FlightDeck-lib.git vendor
  7. Call update database script
    python ./scripts/update-1.0a6.py
  8. Initialize submodules
    git submodule init && git submodule update
  9. 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.