Skip to content

Add mongo#90

Open
chrisrhoton wants to merge 14 commits into
devfrom
add-mongo
Open

Add mongo#90
chrisrhoton wants to merge 14 commits into
devfrom
add-mongo

Conversation

@chrisrhoton

Copy link
Copy Markdown
Contributor

Changed configuration files (config/env/*) to use appropriate DB connections. Will now need to have mongod running when testing in local environment. Also changed Model files to set own IDs in local/development test env but defer to Mongo to create IDs in production. Finally, removed parseInt calls from teamCtrl and userCtrl.

NOTE Everyone please include this line in your config/local.js:
environment: process.env.NODE_ENV || 'local'

BEFORE YOU LIFT SAILS:

  • Make sure mongod is running
  • On the command line, run: export NODE_ENV=local

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants