Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Database seeding #793

Merged
merged 1 commit into from
Aug 13, 2015
Merged

Database seeding #793

merged 1 commit into from
Aug 13, 2015

Conversation

trainerbill
Copy link
Contributor

New PR for:

#785

@trainerbill
Copy link
Contributor Author

Before @ilanbiala asks whats up with package.json.... For some reason my npm --save alphabetizes but I don't see that as a bad thing... the only thing this adds is crypto.

@lirantal lirantal added this to the 0.4.x milestone Aug 13, 2015
@lirantal lirantal self-assigned this Aug 13, 2015
@lirantal
Copy link
Member

Cool, thanks @trainerbill - I like it.

lirantal added a commit that referenced this pull request Aug 13, 2015
@lirantal lirantal merged commit d41490c into meanjs:master Aug 13, 2015
@trainerbill trainerbill deleted the SeedDB2 branch August 13, 2015 19:15
@mleanos
Copy link
Member

mleanos commented Aug 13, 2015

Thanks @trainerbill this looks good.

@trainerbill
Copy link
Contributor Author

Awesome. @codydaig I think we should document this on the README and any other documentation we have...

Development will seed admin and user everytime. Just grab the pass out of the console

MONGO_SEED=true grunt

Production:

MONGO_SEED=true grunt prod

Will seed the admin user one time if it does not already exist. You have to copy the password and save it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants