strider icon indicating copy to clipboard operation
strider copied to clipboard

Add how to create first user when you deployed onto Heroku

Open phanect opened this issue 9 years ago • 3 comments

I didn't find instruction how to create first user when you deploy Strider on Heroku. I think additional instruction is required in Strider on Heroku page.

I considered to add instruction, but I'm not sure if my way is correct.

I tried to login to Heroku via SSH, and run strider addUser as follows:

[local machine] $ heroku run bash --app your-strider-app-name
Running bash on your-strider-app-name... up, run.1234
[heroku] $ node ./bin/strider addUser
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
js-bson: Failed to load c++ bson extension, using pure JS version
Connecting to MongoDB URL: mongodb://heroku_8fs5b60x:[email protected]:33734/heroku_8fs5b60x

Enter email []: [email protected]
Enter password []: ******
Is admin? (y/n) [n]y

Email:          [email protected]
Password:       ****
isAdmin:        y
OK? (y/n) [y]
User created successfully! Enjoy.

If above process is correct, I will update Strider on Heroku page. If not, I would like anyone to update appropriate instruction.

phanect avatar Oct 23 '15 09:10 phanect

Looks good to me. Looking forward to your update.

knownasilya avatar Oct 23 '15 20:10 knownasilya

Any workaround to this documentation?

joaquindiazs avatar Jan 30 '21 19:01 joaquindiazs

The example above is correct.

knownasilya avatar Jan 30 '21 20:01 knownasilya