Skip to content

Commit

Permalink
Merge pull request sclorg#1 from ekuiter/meteor-1.2
Browse files Browse the repository at this point in the history
Meteor 1.2 support ,thanks @ekuiter
  • Loading branch information
sachinbhutani committed Sep 27, 2015
2 parents ea9aebc + 887c04a commit bf17cf9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .openshift/action_hooks/build
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fi
# Do npm install with the new npm binary.
# check if a meteor repo is availabl
if [ -f "${OPENSHIFT_REPO_DIR}"/programs/server/package.json ]; then
echo " - Installing Meteor 1.1 dependencies "
echo " - Installing Meteor 1.2 dependencies "
echo
(cd "${OPENSHIFT_REPO_DIR}/programs/server/npm/npm-bcrypt/node_modules"; rm -rf bcrypt)
(cd "${OPENSHIFT_REPO_DIR}/programs/server";export TMPDIR="tmp"; npm install bcrypt -d --cache ${OPENSHIFT_DATA_DIR})
Expand Down
2 changes: 1 addition & 1 deletion .openshift/markers/NODEJS_VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
# 0.10.25
# 0.11.11
# 0.12.2
0.10.36
0.10.40

8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Run Meteor 1.1 on Red Hat's OpenShift PaaS
Run Meteor 1.2 on Red Hat's OpenShift PaaS
====================================================================
This git repository is a sample Meteor base cartidge with can be used with your
Meteor application to run it on openshift.com PaaS platform

The catridge would install NodeJS version 0.10.36
The catridge would install NodeJS version 0.10.40

Step 0
----------------------------------------------------------
Expand All @@ -12,7 +12,7 @@ Step 0
https://developers.openshift.com/en/managing-client-tools.html


Step 1 - Get NodeJS v0.10.36 running on your openshift app
Step 1 - Get NodeJS v0.10.40 running on your openshift app
----------------------------------------------------------

Create a new application `mynodeapp` in your openshift login control panel
Expand All @@ -36,7 +36,7 @@ Then commit and push the repo to OpenShift
git commit -a -m 'nodejs'
git push

You should now have a NodeJs version 0.10.36 application running at:
You should now have a NodeJs version 0.10.40 application running at:

http://mynodeapp-mydomain.rhcloud.com
( See env @ http://mynodeapp-mydomain.rhcloud.com/env )
Expand Down
4 changes: 2 additions & 2 deletions meteorshim.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ fs.stat('main.js', function(err, stat) {
if(!err)
{
// Start meteor server
console.log("************ Ready to START METEOR 1.1 SERVER ************");
console.log("************ Ready to START METEOR 1.2 SERVER ************");
require('./main.js');
}else{
console.log("************ Starting NodeJS 0.10.36 SERVER ************");
console.log("************ Starting NodeJS 0.10.40 SERVER ************");
require('./server.js');
}
});

0 comments on commit bf17cf9

Please sign in to comment.