AmericanRedCross / disaster-asset-manager

node app to make building the mapfolio a lot easier
0 stars 1 forks source link

default super user missing from dump? #11

Closed danbjoseph closed 9 years ago

danbjoseph commented 9 years ago

started mongodb running and then used mongorestore -d arc_assets /Users/danbjoseph/Documents/Github/AmericanRedCross/disaster-asset-manager/dump/arc_assets tried to login with the default super user as described in the readme but it didn't work, logged in with credentials sent previously and it did, don't see the default super user in the list of users

screen shot 2015-07-05 at 3 18 12 pm
kevinlustig commented 9 years ago

You do not need to do a restore of the Mongo DB when installing on the V2 branch. The default super user will only be created if the user collection is empty or doesn't exist. The thinking there is that if you have a user table to restore, you probably don't need a default super user.

On Sun, Jul 5, 2015, 12:22 PM Dan Joseph notifications@github.com wrote:

started mongodb running and then used mongorestore -d arc_assets /Users/danbjoseph/Documents/Github/AmericanRedCross/disaster-asset-manager/dump/arc_assets tried to login with the default super user as described in the readme but it didn't work, logged in with credentials sent previously and it did, don't see the default super user in the list of users [image: screen shot 2015-07-05 at 3 18 12 pm] https://cloud.githubusercontent.com/assets/4806884/8513013/5c94c20a-2329-11e5-98af-227c28e1dd52.png

— Reply to this email directly or view it on GitHub https://github.com/AmericanRedCross/disaster-asset-manager/issues/11.

danbjoseph commented 9 years ago

got it :thumbsup: