Welcome to the OpenLayers Workshop. This workshop is designed to give you a comprehensive overview of OpenLayers as a web mapping solution.
Preparation steps for OSGeo-Live v10.0
If you do not have Node.js installed (e.g. if you work on a fresh OSGeo-Live v10.0), you will need to install it. Here are some example commands you need to issue in a terminal to get everything the workshop depends upon.
First, let's install
nvm (Node Version Manager) which we use to manage installations of Node.js.:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
Next, please close and reopen the terminal, so that the
nvm script is available.
Afterwards issue the following in the terminal to install the lates v6.x Node.js and a matching
nvm install v6
These instructions assume that you are starting with an
openlayers-workshop-en.zip archive from the latest workshop release. In addition, you'll need Node installed to run a development server for the OpenLayers library.
After extracting the zip, change into the
openlayers-workshop-en directory and install some additional dependencies:
Now you're ready to start the workshop server. This serves up the workshop documentation in addition to providing a debug loader for the OpenLayers library.
This will start a development server where you can read the workshop documentation and work through the exercises: http://localhost:4000.
This workshop is presented as a set of modules. In each module you will perform a set of tasks designed to achieve a specific goal for that module. Each module builds upon lessons learned in previous modules and is designed to iteratively build up your knowledge base.
The following modules will be covered in this workshop: