Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mongo #90

Open
wants to merge 14 commits into
base: dev
Choose a base branch
from
Open

Add mongo #90

wants to merge 14 commits into from

Conversation

chrisrhoton
Copy link
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