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

Loading Mongo Data Doesn't work #7

Closed
slashbrackets opened this issue Oct 7, 2016 · 1 comment
Closed

Loading Mongo Data Doesn't work #7

slashbrackets opened this issue Oct 7, 2016 · 1 comment

Comments

@slashbrackets
Copy link

Not sure how the data gets loaded per the instructions on the readme page. I don't see anywhere data is being imported. I've tried localhost in the config as well. No joy.

@DanWahlin
Copy link
Owner

DanWahlin commented Oct 7, 2016

It's loaded on Line 38 of server.js. If you're not running the application with Docker make sure that your NODE_ENV environment variable is set to "development". I suspect that's probably the issue. I'm going to change it so it always runs the seeder regardless of the value though just in case anyone else runs into that....wouldn't be good for production, but this is just a prototype app.

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

No branches or pull requests

2 participants