Version 11 (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:


Compress JS & CSS files

Browsers default to only downloading 2 files from the same origin at a time, so many files is very slow on high latency links.
We therefore consolidate into fewer, larger files when running in Production mode.

Since GIS is a specialised app which requires many files, it's JS & CSS are loaded separately when required.

The build script is static/scripts/tools/
There is also a convenience wrapper for Windows to run this & also move results into their respective locations: static/scripts/tools/build.cmd

Our build process is based on the one used by MapFish (which is built on the one used by OpenLayers)

Clear Database

To clear database of test data & reset to defaults:

  • Close Web2Py
  • Start up in shell mode:
    python -S sahana -M

Then run:


(This function is configured in modules/

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

To clear the database of old tables which are no longer being used:

sqlite3 storage.db
drop table XXXXX;

Export Application

Upload to LaunchPad

Update Wiki InstallationGuide

Update Demo


Note: See TracWiki for help on using the wiki.