We will inspect reusing the workflow for developing the OpenLayers core library to run the official examples. For this purpose, start with the following step:
git clone https://github.com/openlayers/ol3.git cd ol3 git checkout v3.0.0
npm install sudo pip install -r requirements.txt
./build.py checkdepson Linux / Mac OSX. It will return if dependencies are solved to proceed to the next step.