How to set environment variables in Openshift

It’s very easy set a new environment variable in Openshift (frequently use in nodejs apps), you have to use rhc command.

 

rhc env set MONGO_URI='mongodb://user:pass@hostname:port/collection' --app applicacionNAME

Tags: , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*


Rss Feed Tweeter button Facebook button Technorati button Reddit button Linkedin button Webonews button Delicious button Digg button Flickr button Stumbleupon button Newsvine button Youtube button