nguyenbathanh / itrackmygps-node

Node backend for Android GPS Logger trackble-android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trackble-node

Node backend for Android GPS Logger http://github.com/rdeguzman/trackble-android

Instructions

You will need:

  • Node.js
  • Socket.io
  • Postgres
  • Webserver

Installation

  • Clone the project from git clone https://github.com/rdeguzman/trackble-node.git

  • Install pg from npm: npm install pg

  • Install socket.io from npm: npm install socket.io

  • Create the locations table:psql -d trackble_production -U your_username -f docs/locations.sql

  • Set environment variables for postgres settings:

     export PGUSER=rupert
     export PGPASS=password
     export PGDATABASE=trackable_production
    
  • Change Google Map Key settings and socket_host in map.html

  • Start the gps_server: node server.js

About

Node backend for Android GPS Logger trackble-android


Languages

Language:JavaScript 50.3%Language:HTML 49.7%