Created
June 26, 2015 12:01
-
-
Save jirkapenzes/a18e6ef9bb6dd368a4df to your computer and use it in GitHub Desktop.
Create and deploy clojure app to Openshift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a clojure app (template for openshift) via cartridge | |
rhc app create myapp http://cartreflect-claytondev.rhcloud.com/github/jirkapenzes/clojure-cartridge | |
# Push your code from Github to Openshift | |
git remote add openshift -f <openshift-git-repo-url> | |
git push openshift HEAD:master -f | |
# You can check your deployment state via Openshift log | |
rhc tail |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment