Changes between Version 8 and Version 9 of Infrastructure
- Timestamp:
- 05/10/12 14:57:30 (13 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Infrastructure
v8 v9 4 4 5 5 * m.openlayers.org - redirects to listing of mobile examples (http://openlayers.org/dev/examples/?q=mobile) 6 * docs.openlayers.org (root /osgeo/openlayers/ documentation) - sphinx docs7 * dev.openlayers.org (root /osgeo/openlayers/ dev) - hosted releases, old sandboxes, nightly build8 * openlayers.org (root /osgeo/openlayers/ docs) - main website6 * docs.openlayers.org (root /osgeo/openlayers/sites/docs.openlayers.org) - sphinx docs 7 * dev.openlayers.org (root /osgeo/openlayers/sites/dev.openlayers.org) - hosted releases, old sandboxes, nightly build 8 * openlayers.org (root /osgeo/openlayers/sites/openlayers.org) - main website 9 9 10 10 == Updating the Website & Examples == 11 11 12 Periodically, the [ source:trunk/openlayers/tools/update_dev_dir.sh] script is run to update the working copy of the [source:/project/website website source], to update the hosted examples with the latest from the trunk, parse metadata from the examples, build an example index, and build a single-file OpenLayers.js.12 Periodically, the [https://github.com/openlayers/openlayers/blob/master/tools/update_dev_dir.sh update_dev_dir.sh] script is run to update the working copy of the [https://github.com/openlayers/website website source], to update the hosted examples with the latest from the trunk, parse metadata from the examples, build an example index, and build a single-file OpenLayers.js. 13 13 14 14 The frequency of this process is determined by a cron job on the openlayers.org machine. To get details on this job, run the following: … … 19 19 If there are conflicts in the update for some reason, this job may fail. If you clean things up in the target directory or otherwise need to manually run this job, do so as the {{{openlayers}}} user: 20 20 {{{ 21 sudo -u openlayers /osgeo/openlayers/docs/dev/tools/update_dev_dir.sh 22 }}} 23 24 '''Note''' The update script only updates the website if the library source (not the website source) has been changed since the last time the update ran. To update the website manually, run the following: 25 {{{ 26 sudo -u openlayers svn up /osgeo/openlayers/docs 21 sudo -u openlayers /osgeo/openlayers/repos/openlayers/tools/update_dev_dir.sh 27 22 }}} 28 23 29 24 === Modifying the Website === 30 25 31 You can check out the [ browser:project/website website sources] from the repository, make local modifications, and see what those changes are going to look like on the live site before committing them. To do this, you'll need to modify your Apache config to process the SSI directives in the website markup. In addition, it is convenient to proxy the requests to {{{/api/OpenLayers.js}}}. Below is a sample config section that handles requests to http://ol-localhost/:26 You can check out the [https://github.com/openlayers/website website sources] from the repository, make local modifications, and see what those changes are going to look like on the live site before committing them. To do this, you'll need to modify your Apache config to process the SSI directives in the website markup. In addition, it is convenient to proxy the requests to {{{/api/OpenLayers.js}}}. Below is a sample config section that handles requests to http://ol-localhost/: 32 27 33 28 {{{
