Skip to content

Commit 346d3b6

Browse files
authored
Merge pull request #1 from snyk/master
docs update
2 parents 1fb49a5 + 69873d1 commit 346d3b6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ git clone https://github.com/Snyk/snyk-demo-todo
1111
npm install
1212
npm start
1313
```
14+
This will run Goof locally, using a local mongo on the default port and listening on port 3001 (http://localhost:3001)
15+
16+
#### Heroku usage
17+
Goof requires attaching a MongoLab service to be deployed as a Heroku app.
18+
That sets up the MONGOLAB_URI env var so everything after should just work.
19+
20+
#### CloudFoundry usage
21+
Goof requires attaching a MongoLab service and naming it "goof-mongo" to be deployed on CloudFoundry.
22+
The code explicitly looks for credentials to that service.
23+
1424
### Cleanup
1525
To bulk delete the current list of TODO items from the DB run:
1626
```bash
@@ -38,3 +48,4 @@ snyk wizard
3848

3949
In this application, the default `snyk wizard` answers will fix all the issues.
4050
When the wizard is done, restart the application and run the exploits again to confirm they are fixed.
51+

0 commit comments

Comments
 (0)