I am trying to deploy my application to openshift. I followed the documentation on the sailsjs website. When I entered git push
I got an error saying it failed to deploy the application so I ran rhc tail nodejs
, and I got the following log.
I configured the connections.js
as follows
someMongodbServer: {
adapter: 'sails-mongo',
host: process.env.OPENSHIFT_MONGODB_DB_HOST,
port: process.env.OPENSHIFT_MONGODB_DB_PORT,
user: 'admin',
password: '<thepassword>',
database: 'myappdatabase'
},