When using the command yo angular-fullstack:openshift for existing app, could the following changes in the application code put as a note in the documentation for community, to include the openshift environment details.
server.js - To include ip address to bind to while starting nodejs server
app.listen(config.port, config.ip, function () {
console.log('Express server listening on %s:%d, in %s mode', config.ip, config.port, app.get('env'));
});
These details are available as part of the command yo angular-fullstack: deploy openshift on a new app, but not on existing app which require these details filled in by the developer to successfully deploy on openshift.
When using the command yo angular-fullstack:openshift for existing app, could the following changes in the application code put as a note in the documentation for community, to include the openshift environment details.
production.js
server.js - To include ip address to bind to while starting nodejs server
These details are available as part of the command yo angular-fullstack: deploy openshift on a new app, but not on existing app which require these details filled in by the developer to successfully deploy on openshift.