Get Started - Build Your Module
The DevKit module "Speedometer" module was created using Yeoman and it allows for rapidly getting started on new COBI.Bike projects.
Dependencies are installed using npm.
Step 1 - Clone
Download sample module project, clone our repo.
git clone https://github.com/cobi-bike/Module-Speedometer
Step 2 - Install
Install all dependencies using npm.
Step 3 - Run
Start the COBI.Bike Speedometer module.
The module should load as shown below:
Step 4 - Experience your module
You are almost there, let's get you set up to try your new module using our simulator.
Step 4.1 - Install the DevKit Chrome Extension.
Step 4.2 - Open your web application (from Step 3) with Google Chrome.
Step 4.3 - Open up the Developer Tools (⌘ + Option + i / Ctrl + Shift + j).
Step 4.4 - Select the »COBI.Bike« tab in the Developer Tools (check the overflow menu).
Step 4.5 - To get the best experience, switch on the phone mode in the upper left corner and rotate the device to landscape.
Step 4.6 - To simulate riding and fitness data you can play back one of our sample cobitrack or GPX files.
Congratulations, you are ready to build your own module!