Thanks in advance for contributing to MapillaryJS. Please follow the conventions below when submitting an issue or pull request.
sudo apt-get update &&
sudo apt-get install build-essential gitInstall node.js 8.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.gitChange to the mapillary-js directory and install node module dependencies:
cd mapillary-js &&
npm installInstall the Command Line Tools for Xcode:
xcode-select --installInstall Homebrew according to the instructions.
Install node.js:
brew install nodeClone a copy of the repo:
git clone https://github.com/mapillary/mapillary-js.gitChange to the mapillary-js directory and install node module dependencies:
cd mapillary-js &&
npm installnpm startOpen the debug page at http://localhost:3000.
A standalone build allows you to turn the MapillaryJS repository content into files that can be included on an html page.
To create a standalone build, run
npm prepareOnce that command finishes, you will have a standalone build at dist/mapillary.min.js and dist/mapillary.min.css together with the the dist/*.svg files.
npm testnpm run build-docs &&
python -m SimpleHTTPServerOpen the docs page at http://localhost:8000/docs.
We use the standardized commit messages according to Conventional Commits with the additional types in the Angular convention.
We use rebase merging (as opposed to basic merging) to merge branches.