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

2/6 CONNECT instruction not working on Cloud9 #54

Open
laura-barluzzi opened this issue Feb 21, 2017 · 3 comments
Open

2/6 CONNECT instruction not working on Cloud9 #54

laura-barluzzi opened this issue Feb 21, 2017 · 3 comments

Comments

@laura-barluzzi
Copy link

********on Cloud9 environment, so mongod becomes ./mongod*******

The exercise says to start mongo by running: ./mongod --port 27017 --dbpath=./data.

However, this gives the following parsing error on the console: Error parsing command line: Multiple occurrences of option "--dbpath"

It worked on my C9 just running this instead: ./mongod

See your suggestion:
image

See the error:
image

See it working:
image

@JoeDoyle23
Copy link
Collaborator

It looks like there are a few things that we need to update/adjust for running on Cloud9. Thanks for the report. I'll take a look at all the changes we'll want to add to make sure this workshopper runs correctly there.

@LianJilu
Copy link

How to install MongoDB in Cloud9. Even the first step I can't pass. The bash says mongod command is not found.

@hwangm
Copy link

hwangm commented Sep 11, 2017

@LianJilu follow these instructions: https://community.c9.io/t/setting-up-mongodb/1717

@laura-barluzzi I don't know if you're still having the problem but for Cloud9 the correct command removes the --dbpath option. When setting up mongodb for Cloud9, the dbpath is set in one of the steps to be /data in your workspace.

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

4 participants