aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKumar Damani <damani.kumar@gmail.com>2019-02-19 22:02:07 +0000
committerGitHub <noreply@github.com>2019-02-19 22:02:07 +0000
commit544654b57cb1665509c884aac617dc6473917a3b (patch)
treea8646692e62ddbba5fffb5995b947984445772a3
parent3449364d8a922faf7187c6870876a92aacde5556 (diff)
parent0b5953f7bc46be5b879dc08173731cacee47afde (diff)
Merge pull request #10 from csc301-winter-2019/feat/4
added a step for mongodb locally
-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: