4

I have a node app that I want to upload on openshift.

I have already managed to create a public/private key and am able to sftp to my server. However, when I enter what I see is the following:

https://i.gyazo.com/694cba5ef7e242a33ce3f6e013bac9fd.png

I have no idea where I should drop my files. In other words, if I had a hello world index.html file, to which folder would I upload it to so as to see 'HELLO WORLD' when i went to example.com?

| improve this question | | | | |
3

Very similar question on StackOverflow here

If you're looking to find the webroot of your application running its app-root/runtime/repo. However, I would strongly suggest you make changes through Git if you're altering code. If your uploading things like pictures or other data, you'll want to store them in your $OPENSHIFT_DATA_DIR which is located at /app-root/data/

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.