This doc is for people developing the OpenLayers Workshop. Workshop participants work with archives downloaded from the release pages.
Install Node dependencies:
npm install
Start the development server:
npm start
Now you can modify the src content. When adding new pages or restructuring things, update the src/SUMMARY.md (this is used to generate the content tree in the navigation). Also update any of the nested README.md files (these provide the index page for each section).
To update the workshop with a new release of OpenLayers one needs to change the version number of the openlayers dependency in three places:
- Top level
package.json, - English workshop
src/en/package.jsonand - French workshop
src/fr/package.json
When you push a new tag, Travis will build the workshop archive and attach it to the release page.
In addition, you can update the hosted version of the workshop (this part is subject to change):
npm run deploy