mapillary-js/docs/developing.md

58 lines
1.3 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## Developing mapillary-js
The following tools are required on any platform to develop `mapillary-js`.
- git
- node.js
To install dependencies
```
$ npm install
```
Development mode
```
$ gulp
```
Then head to `http://localhost:3000/` to debug (in case it did not open automatically)
## Gulp Commands
@TODO
## Project Structure
```
.
├── build/ - Development folder
├── debug/ - Access at localhost:3000 after `gulp`
├── dist/ - Distribution: CSS and other assets
├── spec/ - Tests
│ ├── Viewer.spec.ts
│ └── viewer
│ ├── OptionsParser.spec.ts
│ └── Prefetcher.spec.ts
├── src/
│ ├── Mapillary.ts - Main file
│ ├── Utils.ts - Utility classes
│ ├── *.ts - One file per class
│ └── api - One folder per class
   ├── interfaces
   │ ├── IAPINavIm.ts
   │ ├── IAPINavImIm.ts
   │ ├── IAPINavImS.ts
   │ └── interfaces.ts
│ ├── APINav.ts
   ├── APIv2.ts
   └── APIv2Call.ts
├── typings/
├── Gulpfile.js
├── karma.conf.js
├── package.json
├── tsd.json
├── tslint.json
└── README.md
```