Skip to content

Commit

Permalink
added mongo db step to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKriegler committed Dec 29, 2018
1 parent dca262f commit b3b9492
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ Installation is simple just run
npm i
```

If you do not have a local instance of mongoDB running then run `docker-compose up`.
Be sure to run the `db_migrations/init_collection.js` on your mongodb shell.

To run the server locally use

```
Expand Down
4 changes: 2 additions & 2 deletions db_migrations/init_collections.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use matilda;
use matilda
db.sequences.insert({
'_id': 'task_id',
'nextIndex': 0
});
})

0 comments on commit b3b9492

Please sign in to comment.