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.
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/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.