aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKumar Damani <kumar.damani@mail.utoronto.ca>2019-02-19 22:01:29 +0000
committerKumar Damani <kumar.damani@mail.utoronto.ca>2019-02-19 22:01:29 +0000
commit0b5953f7bc46be5b879dc08173731cacee47afde (patch)
tree7754c0837ae23952984bd5f9339bab4be270c51f
parent58d54b74424e1213c1888f3c3925ab8578d092f3 (diff)
added a step for mongodb locallyfeat/4
-rw-r--r--web/README.md21
1 files changed, 20 insertions, 1 deletions
diff --git a/web/README.md b/web/README.md
index b56efa5..d470960 100644
--- a/web/README.md
+++ b/web/README.md
@@ -21,7 +21,26 @@
`use helpthehome`
-4. Now you are ready to start the app:
+4. Put in some dummy data to start, run:
+
+```
+db.pointscollection.insert({
+ "type": "MultiPoint",
+ "name": "points",
+ "color": "#0000ff",
+ "style": {
+ "radius": 8,
+ "fillColor": "#00ce00",
+ "color": "#008c00",
+ "weight": 2,
+ "opacity": 1,
+ "fillOpacity": 1
+ },
+ "coordinates": [-73.9580, 40.8003]
+})
+```
+
+5. Now you are ready to start the app:
From this directory: