Deploy Meteor 8.3 and above on descents

My question is simple, does anyone know how to make meteor app with version 8.3 and above on openshift server.

I've tried following the Openshift guide: https://github.com/openshift-quickstart/openshift-meteorjs-quickstart

The problem with this, it is quite old and designed to run with an older version of Meteor. The error I get from the console says node.js version 0.10.29 or higher is required.

I tried using custom solutions for custom node.js versions: https://github.com/vladka/openshift-meteor-leaderboard-customNode and "/ ramr / nodejs-custom- version-OpenShift"

I have also tried some branches and other solutions like "/ questions / 24316495 / how-to-upgrade-node-js-in-openshift-gear" and "/ questions / 20408160 / meteor-on-openshift-node-version "

None of the above solutions worked for me. I tried different deployment options, I used the basic "bundle" feature from meteor 8.3 as described for openshift. It didn't work. I also tried using "demeteorizer". On higher versions of the meteor, I used "build". It didn't work. Every time he just said that the meteor needs 0.10.29 or higher to run, even though it is reported in the / env directory and console that it is using a custom node.js version of 0.10.29 or higher (whichever I am used).

I've tried using both Linux and windows for the meteor itself. 8.0 and higher versions are used. Dependencies and all related versions of Meteor updates are checked. It works just fine on site, so there are no meteor issues on it. It also runs on a test server at meteor.com itself, so I doubt it is an issue with the meteor version or my particular meteor app.

I tried using a basic example from one of the links above with meteor version 0.6.3, which worked because it uses an older version of node.js. Officially opens support and only provides node.js version 0.10.25, which is why the old meteorite version with the sample app works fine.

+3


source to share


2 answers


I have meteor v1.0.2 running successfully on Openshift. Meteor and Famo.us on Openshift I also followed the links mentioned by the OP. However, I had to do a few mods. The important thing is that you have to DIY and roll your own. I took the vladka git (mentioned by the OP) and modified it to make it much easier. Another thing to remember is that Meteor has several binary node dependencies (esp.) That must be installed at the time of push. Overall I am very happy and have used Openshift for a number of Meteor / Famo.us commercial web applications. I'll try to post the tutorial and git when I get the chance.



Meteor in OpenShift tutorial

+5


source


Unfortunately, meteor apps will not work in OpenShift at this time. There are several reasons, but it basically comes down to the fact that the meteorite team wants to be hosted by a passenger and not controlled by a node or supervisor (which is what OpenShift uses). We understand this is something to be addressed and we are actively working to get meteor apps to work on OpenShift.



0


source







All Articles