Changes between Version 6 and Version 7 of SysAdmin/ReleaseProcess


Ignore:
Timestamp:
01/05/09 03:52:59 (13 years ago)
Author:
Fran Boon
Comment:

Document the JS/CSS build process

Legend:

Unmodified
Added
Removed
Modified
  • SysAdmin/ReleaseProcess

    v6 v7  
    1010 * CHANGELOG
    1111
    12 Compress JS files
    13  * ext-all.js
    14  * MapFish (inc OL): https://trac.mapfish.org/trac/mapfish/wiki/HowToBuild
    15   * OpenLayers: http://trac.openlayers.org/wiki/Profiles
    16   * proj4js-compressed.js (in future)
    17  * jquery (already using the gzipped/minified version)
    18   * jquery.dimensions.pack.js
     12=== Compress JS & CSS files ===
     13Browsers default to only downloading 2 files from the same origin at a time, so many files is very slow on high latency links.[[BR]]
     14We therefore consolidate into fewer, larger files when running in Production mode.
    1915
    20 Combine CSS files into 2 consolidated stylesheets.
    21  * Browsers default to only downloading 2 files at a time, so many files is very slow on high latency links
    22  * GIS components only need loading for the Map Viewing Client
     16Since GIS is a specialised app which requires many files, it's JS & CSS are loaded separately when required.
    2317
    24 Make a build script to achieve these?
     18The build script is {{{static/scripts/tools/build.sahana.py}}}[[BR]]
     19There is also a convenience wrapper for Windows to run this & also move results into their respective locations: {{{static/scripts/tools/build.cmd}}}
     20
     21Our build process is based on the one used by !MapFish (which is built on the one used by !OpenLayers)
     22 * !MapFish (inc OL): https://trac.mapfish.org/trac/mapfish/wiki/HowToBuild
     23 * !OpenLayers: http://trac.openlayers.org/wiki/Profiles
    2524
    2625=== Export Application ===
     
    2928 * Save as: {{{web2py.app.sahana3_rXXX.tar}}}
    3029
    31 === Upload to LaunchPad ===
     30=== Upload to !LaunchPad ===
    3231 * Register a new release: https://launchpad.net/sahana3/trunk/+addrelease
    3332 * Add download file
    3433
    35 === Update Wiki InstallationGuide ===
     34=== Update Wiki !InstallationGuide ===
    3635 * https://trac.sahana3.org/wiki/InstallationGuidelinesWindows
    3736 * https://trac.sahana3.org/wiki/InstallationGuidelinesLinux