We would like to deploy our app using this method: point to a git repo and Open Shift will fetch, build, and deploy. We used “meteor build” (with appropriate options) to make a node.js bundle, and then we made a git repo with this bundle and pointed Open Shift to it -> build fails. Does anyone know anything about this, I am basically one of the developers of the app, but I have no experience to deployment, especially using the technologies mentioned. We are also going to try using Docker, on which we can create an image with the required dependencies, but I am not sure this is the most logical solution.
After meteor build, you have some intermediate build steps.
Also, if you are building under one architecture, and deploying to a different architecture, it will possibly cause issues (e.g. Build on Linux, and deploy to Windows).
But after the meteor build step, you need to run npm install from the bundle/programs/server/ folder, then rune the node command.
Not sure you are doing all that or not, but it is all important.
Hi I am coming back to this, after a little while, we realised there is a problem with Docker and linux server architecture. So now we are looking to alternative ways to deploy the app, what is the easiest way for deployment since we are not very familiar with this process we would appreciate the most straight forward implementation. For example, is Galaxy okay to look into? AFAIK it costs little and is very effective for Meteor integration.
Hi,
sorry i am not sure what you mean do you mean build meteor local make an Docker image and push it to openshift ? or how do you get the actual meteor build while you do an kind of node js build ?
i am a lttle confused because i try same as korvas thx thomas