1

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.

enter image description here

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'
},
Rockstar5645
  • 4,376
  • 8
  • 37
  • 62

0 Answers0