aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/README.md20
-rw-r--r--web/app.js2
2 files changed, 10 insertions, 12 deletions
diff --git a/web/README.md b/web/README.md
index b7f02b3..66790a1 100644
--- a/web/README.md
+++ b/web/README.md
@@ -1,20 +1,20 @@
-# The web component
+# The Web Component
-## How to run in your LOCAL env:
+## Installation
### Requirements
1. docker (or local mongodb install)
2. npm
-#### Steps
+### Steps
+> Docker steps below might not work on Windows. Refer to Docker docs.
-1. Spawn up a docker container with mongodb OR start mongo from local install
+1. Spawn up a docker container with mongodb OR start mongo from your local install
`docker run -d --name mymongo -p 27017:27017 mongo`
-
-2. Now you are ready to start the app:
+2. Now you are ready to start the web component:
From this directory:
@@ -24,13 +24,13 @@
Then open your browser to `localhost:3000`
-You should be greeted with a page with a map. From next time onwards, just start up the mongo container with `docker start mymongo`.
+You should be greeted with the home page. From next time onwards, just start up the mongo container with `docker start mymongo`.
-## You can view the current latest production site on Heroku (master branch)
+## Latest Production site (master branch)
-not yet.
+https://helpthehome-prod.herokuapp.com/
-## You can view the current latest QA site on Heroku (qa branch)
+## Latest QA site (qa branch)
https://helpthehome-qa.herokuapp.com/
diff --git a/web/app.js b/web/app.js
index aa2e75b..d2831a9 100644
--- a/web/app.js
+++ b/web/app.js
@@ -25,8 +25,6 @@ var env = process.env.NODE_ENV || 'development';
var uri;
if (env === 'development') {
uri = 'mongodb://localhost:27017/helpthehome'
- // use for small testing only if really necessary
- // uri = 'mongodb+srv://development:dreamteam@cluster0-krnr4.mongodb.net/helpthehome_devel?retryWrites=true'
} else {
// for qa and production set it on heroku config vars
uri = process.env.MONGODB_URI