Skip to content

Starting Server

David Heyman edited this page Sep 18, 2015 · 5 revisions

Start PM2 Node Processes

This app uses PM2 to run multiple node processes at once that restart if they encounter any uncaught errors. It runs a load balancer to handle multiple requests to the server simultaneously.

cd ~/rio
pm2 start server.js -i 1
cd server/mapnik/
pm2 start tilelive.js -i 0

To view currently running pm2 processes, run:

pm2 list

To view a live-updating console log, run:

pm2 logs
Clone this wiki locally