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 udpate the workshop with a new release of OpenLayers change the version number of the openlayers
dependency in both package.json
and src/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