-
Notifications
You must be signed in to change notification settings - Fork 4
Home
かがみ edited this page Jan 17, 2018
·
1 revision
This plugin needs to work with poi server. Steps:
- Make sure you're using dev mode of poi so that the
SERVER_HOSTNAME
is pointed to127.0.0.1
- Install mongodb
- Start mongodb, assuming
~/tmp/mongodb
is the database file path:mongod --dbpath ~/tmp/mongodb
- Clone poi server repo, install npm dependencies, and launch server. Using process manager like
PM2
could be betterpm2 start --name 'poi-server' index.js --watch
Now the poi server is ready for data transfer, and your reports will go into the database you started.
The existing reporters are good example to start with.
You will need to add handler on server side