Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.31 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.31 KB

maptalks examples

Circle CI

Source repository of maptalks.js's examples.

Folder

.
|- assets/              # assets, CSS/images
|- build/examples.json  # examples index json file
|- dist/                # distribution folder, root for gh-pages branch
|- layouts/             # templates
|- locales/             # i18n configs
|- src/                 # examples sources

Setup

  1. At root directory
npm install
  1. run
gulp
  • copy assets to dist/
  • Compile sources in src, generate html files to dist
  • Start gulp-connet on port 20001, begin to watch file changes to rebuild
  1. Open the browser at

Contribute and Publish

Sources files are stored in master branch. Once master branch is updated with new commits, examples will be compiled and published to gh-pages branch automatically.

Any form of contribution is warmly welcomed any time, please submit your pull request to master branch (NOT gh-pages branch).