Setup - WingLongitude/tile-server GitHub Wiki
Tile server used by the Explorer to render all the points. Based on Windshaft.
Node.js
Tested with node.js version 0.10+
Required tools
sudo apt-get install git build-essential
Redis
Windshaft uses Redis to keep tiles styling
sudo apt-get install redis-server
Tile Server
Required packages:
sudo apt-get install pkg-config libcairo2-dev libjpeg8-dev libgif-dev
- Clone this project tile-server
- Inside the 'tile-server' folder, do:
npm install
- Edit the file
config.json
to set proper access your database. - Start the application:
node tile-server.js
Note: if you are running in production mode, a simple way to keep the process running after connection to the server is terminated is by using nohup to start the service:
nohup node tile-server.js