You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 4, 2018. It is now read-only.
I began using these instructions in the hope of creating a gollum-powered wiki hosted on OpenShift Flex but am a little confused.
The instructions given the README are as follows:
$ git clone git@github.com:hferentschik/gollum-openshifted.git
$ git remote rm origin
$ rhc-create-domain -n -l -p
$ rhc-create-app -a -t rack-1.1 -l -p --nogit
$ git remote add openshift
$ git push -f openshift master
- The domain name you want to use for your apps
- The email you signed up with for OpenShift
- Your OpenShift password
- The OpenShift git URL which you receive when creating the app
What I don't understand is, how can I provide the value for when later in the instructions it says that this is "The OpenShift git URL which you receive when creating the app". So to the "rhc-create-app" command you need to provide a value which is output by the "rhc-create-app" command!? I'm utterly confused.
On a minor note I'm not sure just what "git remote rm origin" achieves.
Any help/hints would be appreciated.
The text was updated successfully, but these errors were encountered:
thanks for the feedback. Let's see if I can clarify your questions.
First off, the instructions are for OpenShift Express. I would assume that you can get it to work on OpenShift Flex as well, but I haven't tried. As far as I know, Openshift Express and Flex use different tool chains to create and manage apps. I will see if I can try against OpenShift Flex as well and add some additional notes. For now it is up to you to match the listed commands to OpenShift Flex.
What I don't understand is, how can I provide the value for when later in the instructions it says that this is "The
OpenShift git URL which you receive when creating the app". So to the "rhc-create-app" command you need to provide > a value which is output by the "rhc-create-app" command!? I'm utterly confused.
Nope. Maybe the formatting was bad. You don't have to specify the to the rhc-create-app command. It gets outputted by it. I tried updating the readme. Once you run the command a whole bunch of stuff gets outputted. Somewhere at the bottom will be the git url. This is the url to which to push your code for deployment.
On a minor note I'm not sure just what "git remote rm origin" achieves.
This is technically not needed, but probably a good idea. If you followed my example you are cloning my repo to your local machine. If you then would edit anything and just write git push you would try to push back into my repo (which would of course not work, but still...). git push is a shortcut for git push origin master and when you clone a git repo, git will configure a remote called origin pointing to the original repo. By executing git remote rm origin you basically cut the link to my repository. If you want to be able to do git push to your OpenShift app you have to run
I began using these instructions in the hope of creating a gollum-powered wiki hosted on OpenShift Flex but am a little confused.
The instructions given the README are as follows:
$ git clone git@github.com:hferentschik/gollum-openshifted.git
$ git remote rm origin
$ rhc-create-domain -n -l -p
$ rhc-create-app -a -t rack-1.1 -l -p --nogit
$ git remote add openshift
$ git push -f openshift master
- The domain name you want to use for your apps
- The email you signed up with for OpenShift
- Your OpenShift password
- The OpenShift git URL which you receive when creating the app
What I don't understand is, how can I provide the value for when later in the instructions it says that this is "The OpenShift git URL which you receive when creating the app". So to the "rhc-create-app" command you need to provide a value which is output by the "rhc-create-app" command!? I'm utterly confused.
On a minor note I'm not sure just what "git remote rm origin" achieves.
Any help/hints would be appreciated.
The text was updated successfully, but these errors were encountered: