wiki:SysAdmin/ReleaseProcess

Version 38 (modified by Fran Boon, 14 years ago) ( diff )

--

Release Process

When making a Stable Branch from which to build releases, we need to do these tasks:

Check that all works with a released version of Web2Py

Ensure included files sane:

  • README
  • VERSION (updated automatically by Bzr start-commit hook)
  • INSTALL
  • CHANGELOG

Clear Database

To clear database of test data & reset to defaults:

  • Close Web2Py
  • Delete all files from /databases

Clean the files which are created by the deployment_templates of all personal data:

  • cron/crontab
  • models/000_config.py

NB This assumes that all required settings are being generated upon intialisation as per the Framework

Export Application

This could be scripted:

cd /home/web2py
# @ToDo: Clean
# Compile
python web2py.py -S eden -M -R applications/eden/static/scripts/tools/compile.py
# @ToDo: Catch errors
# @ToDo: Pack
# @ToDo: Download with filename

Upload to LaunchPad

Update Windows Installers

Update Wiki

Update Demo

  • Update Web2Py (if necessary)
    cd /home/web2py/applications/eden
    bzr pull -r xxx
    

Alternate approach:

Ideas


DeveloperGuidelines

Note: See TracWiki for help on using the wiki.