Eric D. Schabell: OpenShift Express - how to get started with ZendFramework

Wednesday, October 5, 2011

OpenShift Express - how to get started with ZendFramework

I was looking to upgrade a rough draft article in the Express forums and place it into a structured git repo howto form so I put the following together. You can follow the Readme file to push this into your very own OpenShift Express instance!








# Create an account at http://openshift.redhat.com/
#
# Create a php-5.3 application.
#
$ rhc-create-app -l $username -a zendphp -t php-5.3

# Add this upstream zendphp repo.
#
$ cd zendphp
$ git remote add upstream -m master git://github.com/eschabell/openshift-zendframework.git
$ git pull -s recursive -X theirs upstream master
# note that the git pull above can be used later to pull updates to zendphp

# Then push the repo upstream.
#
$ git push

That's it, you can now checkout your application at: http://zendphp-$your_domain.rhcloud.com, easy isn't it! ;-)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.