Reputation: 13
I have the modern openshift that forces you to login with github as a result i cant sign in with the rhc thing and get access to the ftp stuff to upload my files like you are meant to. What is the way of uploading files on the new openshift? I have nodejs content i would like to upload to it.
Upvotes: 1
Views: 438
Reputation:
I assuming you had choose nodejs-mongo-persistent Quick-Start. In order to do that, create a exact replica of Node-js Quick-Start repository in your own git account. (You can use Import feature of Git-hub)
While you creating the project you have to put your own git repository url in Git Repository URL space. Then hit Create
Next, you have to clone your newly created repository to local machine (git clone repo_url.git
)
Just modify the Quick-Start Node-js project and commit then push to git.
Then login to your OpenShift-v3 using Command Line Tools. (Assuming you already configured it properly).
Run the following commands oc start-build nodejs-mongo-persistent
(It will take some time to complete; around 10 mins)
Then run oc deploy nodejs-mongo-persistent --latest
That's it
Upvotes: 1