A new vector tile server (to take over pietra and spinel)
I wanted to have a simple, scalable, fast, and interoperable vector tile server as a part of the UN Vector Tile Toolkit.
npm install -g pm2
git clone git@github.com:un-vector-tile-toolkit/onyx
cd onyx
npm install
mkdir config
vi config/default.hjson
{
morganFormat: tiny
htdocsPath: htdocs
port: 3000
privkeyPath: /somewhere/privkey.pem
fullchainPath: /somewhere/fullchain.pem
chainPath: /somewhere/chain.pem
logDirPath: log
tz: {
tapioca: 6
}
defaultZ: 6
mbtilesDir: /somewhere/mbtiles
fontsDir: /somewhere/fonts
}
I use *.pem files from Let's Encrypt.
./pmserve.sh
./pmstop.sh