This service renders Carto CSS to Mapnik XML.
npm install
node index.js
This depends on mocha: npm install -g mocha
Run the tests:
npx mocha
This is appending the contents of examples/main.mss.enc as the query parameter. The contents of the query parameter is always a URI-encoded stylesheet.
cd carto-style-renderer
curl "localhost:4097/style?style=$(cat examples/main.mss.enc)"
See docker/README.md.
Remember to run node bin/release.js
to update the version after merging.