Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryanj/openshift.npm
INCOMPLETE - update your node.js applications, and check to make that they are OpenShift compatible
https://github.com/ryanj/openshift.npm
Last synced: 13 days ago
JSON representation
INCOMPLETE - update your node.js applications, and check to make that they are OpenShift compatible
- Host: GitHub
- URL: https://github.com/ryanj/openshift.npm
- Owner: ryanj
- License: mit
- Created: 2013-03-23T02:33:28.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-06-11T23:57:39.000Z (over 11 years ago)
- Last Synced: 2024-10-11T00:12:21.585Z (about 1 month ago)
- Language: JavaScript
- Size: 109 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# openshift.npm
This project is currently just a placeholder helping to ensure that the 'openshift' npm module is actually controlled by folks in the OpenShift team.
The long-term goal of this module is to allow developers to make their existing web applications fully openshift compatible in one or two simple steps.
Currently, this does nothing:
npm install openshift
Try this instead:
cd $YOUR_PROJECT_FOLDER # I'm assuming that your project is a git repo
git remote add upstream -m master [email protected]:ryanj/nodejs-custom-version-openshift.git
git pull -s recursive upstream master # merge in a basic OpenShift skeletonThen, resolve any merge conflicts, review the changes and additions, and commit your updated application code:
git add filename # after fixing, for each file that contained a merge conflict
git commit -m 'merging in OpenShift dependencies for node.js applications'
git push # to enhance your GitHub project, making it OpenShift compatible.Finally, provision and deploy your new OpenShift-compatible node.js application in one step:
rhc app create mynodeapp nodejs --from-code=http://github.com/YOUR_GH_PROFILE/YOUR_GH_REPO.git
The `rhc` command-line output should return your live application URL.
For additional help, see:
* https://www.openshift.com/get-started#cli
* https://www.openshift.com/get-started/node-js
* https://github.com/ryanj/nodejs-custom-version-openshift/blob/master/README
* https://github.com/ryanj/nodejs-custom-version-openshift/blob/master/README.md