Reputation: 6098
I have an openshift node.js + Mongodb server set up. I am SFTP in from sublime text. Where is the root web directory? I see copies of the index.html file everywhere but changing them does nothing. I have read other posts about it being in app-root/data/site
, but I do not have a sites folder.
Any help is appreciated.
Upvotes: 2
Views: 1705
Reputation: 2807
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/
Upvotes: 3