Strider-CD / strider

Open Source Continuous Integration & Deployment Server
http://strider-cd.github.io/
4.59k stars 432 forks source link

Add how to create first user when you deployed onto Heroku #874

Open phanect opened 8 years ago

phanect commented 8 years ago

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:100bfm1djrfq9tfe28ml6s32kv@ds033734.mongolab.com:33734/heroku_8fs5b60x

Enter email []: ogawa@growaspeople.org
Enter password []: ******
Is admin? (y/n) [n]y

Email:          ogawa@growaspeople.org
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.

knownasilya commented 8 years ago

Looks good to me. Looking forward to your update.

joaquindiazs commented 3 years ago

Any workaround to this documentation?

knownasilya commented 3 years ago

The example above is correct.