-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
71 lines (52 loc) · 2.51 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
RightRides offers women and LGBTQ individuals a free, safe, late night ride home on Friday and Saturday nights from 11:59 PM - 3 AM, (early Saturday or Sunday morning) in 45 NYC neighborhoods across four NYC boroughs. To call for a ride, the dispatch number is (888) 215-SAFE (7233).
We are creating a web portal for RightRides dispatchers to connect them with navigators (who sit alongside the RightRides drivers and communicate with the dispatcher) to facilitate information regarding pick-up/drop-off of passengers.
Dispatchers need to be able to:
- Input rider name and address info when they receive a call
- app should record call time, add rider to spreadsheet/db
- Assign a car to a rider
- app should notify navigator
- Text a navigator
- View map of rider and driver locations
- Click on rider to view info
- Click on driver to view info
Navigators need to be able to:
- Indicate a rider has been picked up/dropped off
- app should notify dispatcher web portal
- Text dispatcher
Tech Stack:
Geoloqi - used to create map and do driver tracking
Node.js - server
Twitter Bootstrap - CSS Layout
Passport - Simple authentication
It would be nice to add:
Google Spreadsheets API - to store data and avoid the need for a database, we could write to the existing RightRides spreadsheet
===== Install NodeJS server =====
The basic app is checked into the git repo.
You need to install the following on your machine
Node (http://nodejs.org/)
Npm (http://npmjs.org/)
Expressjs (http://expressjs.com)
Install jade
npm install jade
Install passport
npm install passport
# then, run the app with
cd RightRides
npm install –d
node app.js
Then visit your localhost:3000
======
ADDING A NAVIGATOR PHONE
- Download the Geoloqi app onto the phone - make an account
- From a computer, go to developers.geoloqi.com - log in to your geoloqi account
- Add the token (it should looks something like this: '5276-09d6f72728ee71713875d5d2c93304ba90ec040b') to the list "var tokens" found at the top of public/javascript/geoloqi.js
======
What's done so far (as of 1/19/12):
- Dispatcher web portal with:
- Google Map integrated with Geoloqi to track navigator phones
- Embedded Google Talk window to chat with navigators
- "Add a Rider" form with data that currently isn't being used - it just shows up in a javascript alert
Next steps:
- "Add a Rider" data should actually add rider to map
- "Add a Rider" data should be added to spreadsheet
- Ability to mark rider as picked up / dropped off (either from dispatcher portal or from navigator phone)