Getting Started
Couldn't be easier, in a nutshell:- Create an OpenShift account.
- Add your public key to the OpenShift website.
- Setup the OpenShift Eclipse plugin.
Changing Your GIT Upstream
I don't really want to deploy with every push, so I push to an 'inbetween' repo. I then push to 'upstream' (my OpenShift repo) only when I want to deploy.To add an extra repo in between, run from your GIT folder:
- git remote rename origin upstream
- git remote add origin git@github.com/{your-account/{your-repo-name}.git
- git push -u origin master
Now, to deploy just use:
git push upstream
I hope this has helped someone out there...
No comments:
Post a Comment