Changes between Version 14 and Version 15 of SysAdmin/ReleaseProcess


Ignore:
Timestamp:
01/14/09 23:09:03 (13 years ago)
Author:
Fran Boon
Comment:

Clear DB is simpler, YUI compressor

Legend:

Unmodified
Added
Removed
Modified
  • SysAdmin/ReleaseProcess

    v14 v15  
    2424 * !OpenLayers: http://trac.openlayers.org/wiki/Profiles
    2525
     26ToDo: Invesitgate using YUI Compressor instead:
     27 * http://developer.yahoo.com/yui/compressor/
     28
    2629=== Clear Database ===
    2730To clear database of test data & reset to defaults:
    2831 * Close Web2Py
    29  * Start up in shell mode:
    30 {{{
    31 python web2py.py -S sahana -M
    32 }}}
    33 Then run:
    34 {{{
    35 shn_db_clean(db)
    36 }}}
    37 (This function is configured in {{{modules/sahana.py}}})
     32 * Delete all files from {{{/databases}}}
    3833
    3934NB This assumes that all required settings are being generated upon intialisation as per the [wiki:DeveloperGuidelinesSahana3Framework#Settings Framework]
    40 
    41 To clear the database of old tables which are no longer being used:
    42 {{{
    43 sqlite3 storage.db
    44 drop table XXXXX;
    45 .quit
    46 }}}
    4735
    4836=== Export Application ===