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

add rockMongo cartridge not working #3

Open
zergxyz opened this issue Dec 1, 2014 · 5 comments
Open

add rockMongo cartridge not working #3

zergxyz opened this issue Dec 1, 2014 · 5 comments

Comments

@zergxyz
Copy link

zergxyz commented Dec 1, 2014

after deploy to the openshift. I tried to add the rockMongo cartridge to view the data in mongoDB. But I can't open the connection url since the MEAN stack routing defined the rules to prevent to show the connection console. Anyway to make this one work?

@shai-weinstein
Copy link
Contributor

you can try to SSH to your openshift gear
and get the connection info from the command line, from the environment variables
env | grep MONGODB

or with RHC
rhc env list -a App_Name

OPENSHIFT_MONGODB_DB_PASSWORD, OPENSHIFT_MONGODB_DB_USERNAME, OPENSHIFT_MONGODB_DB_HOST, OPENSHIFT_MONGODB_DB_PORT

@zergxyz
Copy link
Author

zergxyz commented Dec 1, 2014

@shai-weinstein Thanks for your reply, Shai. My issue is having difficulty in using the web browser to view the mongodb data. Rockmongo is a client viewer can let you directly review your json data from a web page (like phpmyadmin for mysql) and it's part of the openshift's free cartridge service. usually once you add this cartridge to your openshift application, you can open it by using this link:
https://your-application-domain.com/rockmongo. But after installing our MEAN stack, this link is not working anymore. I believed that the MEAN stack routing code changed the default behavior of the above link. Just to check if we can change it back or add some filter to make sure the rockmongo client can still be accessible.

@shai-weinstein
Copy link
Contributor

I checked on my openshift gear, added rockmongo and it worked
the rockmongo is accessible at https:/domain/rockmongo
maybe try to add the rockmongo cartridge only after deploying MEAN

steps i did:

  1. create app from quickstart https://openshift.redhat.com/app/console/application_type/quickstart!18122 (specifying master branch)
    note that i did not use NODE_ENV=production, keeping the default NODE_ENV=development
  2. add rockmongo cartridge
  3. restart gear

@liorkesos
Copy link
Member

what is rockmongo?
Lior

On Tue, Dec 9, 2014 at 11:29 AM, Shai Weinstein [email protected]
wrote:

I checked on my openshift gear, added rockmongo and it worked
the rockmongo is accessible at https:/domain/rockmongo
maybe try to add the rockmongo cartridge only after deploying MEAN

steps i did:

  1. create app from quickstart
    https://openshift.redhat.com/app/console/application_type/quickstart!18122
    (specifying master branch)
    node that i did not use NODE_ENV=production, keeping the default
    NODE_ENV=development
  2. add rockmongo cartridge
  3. restart gear


Reply to this email directly or view it on GitHub
#3 (comment)
.

Lior Kesos - http://www.linnovate.net
Linnovate - Community Infrastructure Care
mail: [email protected]
office: +972 722500881
cell: +972 524305252
skype: liorkesos

@lleoooell
Copy link

I'm using the rockmongo cartridge on openshift with the mean cartridge, works for me too...

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