Permalink
Browse files

push locations to config.json

  • Loading branch information...
1 parent c7265b7 commit 9504118ae27871fb844a92f9b93b9a693a9ac133 @jedahan jedahan committed Sep 16, 2011
Showing with 3 additions and 11 deletions.
  1. +3 −2 config.json
  2. +0 −9 src/faker.coffee
View
@@ -4,9 +4,10 @@
, "master_key": "bbf03a86c919bb598ced6ff4af7493493945bf46"
, "producer_key": "2526b7ea177b1a3db5706f23cf6e9b8a7d2c1382"
, "consumer_key": "d0a1ef4bdc1b06e8fa144a2bfec2ef32df59978f"
- , "swarms": [ "2fe24b7c3132b4ebdf08054d6391f40da43779a4"
- ]
+ , "swarms": [ "2fe24b7c3132b4ebdf08054d6391f40da43779a4" ]
, "producer_name" : "faker"
+ , "buglabs": { "latitude": 40.724982, "longitude": -73.997082 }
+ , "techcrunch": { "latitude": 37.770053, "longitude": -122.403799 }
, "feeds": [
{ "name": "mpg", "max": 70 }
, { "name": "rpm", "max": 10000 }
View
@@ -12,15 +12,6 @@ config = JSON.parse require('fs').readFileSync './config.json', 'utf8'
#
# center latitude and longitude, max distance, and max mpg
-buglabs = { latitude: 40.72498216901785, longitude: -73.99708271026611 }
-techcrunch = { latitude: 37.770053, longitude: -122.403799 }
-
-max_distance = .01
-center_latitude = (techcrunch.latitude - max_distance / 2)
-center_longitude = (techcrunch.longitude - max_distance / 2)
-cars = [ { name: "Fiesta", count: 0 }, { name: "Fusion", count: 0 } ]
-reqs = []
-
#### Routing / API
#
# To start faking data to a random swarm listed in config.json, `GET /add`

0 comments on commit 9504118

Please sign in to comment.