File: DEVELOPING.md

package info (click to toggle)
node-carto 0.9.5-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 2,272 kB
  • ctags: 329
  • sloc: xml: 189; makefile: 22
file content (34 lines) | stat: -rw-r--r-- 692 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
## Developing

Installing:

    git clone git@github.com:mapbox/carto.git
    npm install

Test:

    npm test

Running the head binary:

    ./bin/carto

## Documentation

This repository contains auto-generated documentation of the content of Carto
that's published on MapBox.com.

    git fetch origin gh-pages:gh-pages

Edit `_docs/package.json` to point to the head version of [mapnik-reference](https://github.com/mapnik/mapnik-reference).

    cd _docs
    npm install
    node generate.js

Then run up a directory and run the testing server:

    cd ../
    jekyll serve -p 4000

Test the new site at `localhost:4000/carto` and if things look good then git add your changes and push.