mirror of
https://github.com/mapillary/mapillary-js.git
synced 2026-01-18 13:56:53 +00:00
Fix rxjs to avoid build errors because rxjs RC1 is built on typescript 2.0 which has new keywords. Update circle node version. Update Ubuntu node js install instruction.
1.2 KiB
1.2 KiB
Preparing your Development Environment
Linux
sudo apt-get update &&
sudo apt-get install build-essential git
Install node.js 6.x and npm according to the node.js package manager installation instructions.
Clone a copy of the repo:
git clone https://github.com/mapillary/mapillary-js.git
Change to the mapillary-js directory and install node module dependencies:
cd mapillary-js &&
npm install
OSX
Install the Command Line Tools for Xcode:
xcode-select --install
Install Homebrew according to the instructions.
Install node.js:
brew install node
Clone a copy of the repo:
git clone https://github.com/mapillary/mapillary-js.git
Change to the mapillary-js directory and install node module dependencies:
cd mapillary-js &&
npm install
Serving the Debug Page
npm start
Open the debug page at http://localhost:3000.
Running Tests
npm test