Mobile app version of vmapp.org
Login or Join
Jennifer507

: Where to upload my files to on openshift? 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.

@Jennifer507

Posted in: #Ftp #Server #Uploading

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:



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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Jennifer507

1 Comments

Sorted by latest first Latest Oldest Best

 

@Kevin317

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/

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme