This is kind of a general question, I've never had to deploy my own code and I'm not sure how to go about doing this properly.
I have a file in my project that creates a mongoose object and connects to a remote Mongo db (not a db created in openshift). The connection string contains my user and password so I set it to be ignored by git so it wouldn't be public.
mongoose.connect( 'mongodb://$Username:$password@ds111111.mlab.com:49551/db_name' );
But now I run into the problem that when I create a build from my git source, obviously this file isn't there and the application crashes.
What's the right way to go about this?