Where to save plugins for opengift wordpress install
Short answer: save your plugins and themes in .openshift.
Longer answer: Every Openshift account has what can be thought of as a username - a long number like this: 53f1a90f500446c42053423083
Every directory structure has this number, so yours:
/var/lib/openshift/53f1a90f500446c42053423083/app-root/runtime/repo/.openshift
will be different from mine:
/var/lib/openshift/12345678901234567890123456/app-root/runtime/repo/.openshift
The number is included in the environment variables, so the scripts will work for you and in the mine alike. One of them is OPENSHIFT_REPO_DIR. In your installation, it will point to:
/ var / Library / OpenShift / 53f1a90f500446c42053423083 / app root / runtime / repo
on my:
/ var / Library / OpenShift / + 12345678901234567890123456 / app root / runtime / repo
The other is OPENSHIFT_DATA_DIR.
When pushing changes from a local directory via git, a deployment script is executed and it collects all the necessary wp files into a directory it calls:
OPENSHIFT_DATA_DIR / current
Openshift moves the "original" wp files and theme folders that are created during wp installation to the OPENSHIFT_DATA_DIR / current / wp-content file. It looks like OPENSHIFT_REPO_DIR / .openshift for your code and copies to whatever plugins and themes folders it finds there.
The network effect is to build plugins and topic directories, adding yours to those that come with wp. So your fully assembled OPENSHIFT_DATA_DIR / current will have in it:
OPENSHIFT_DATA_DIR / current / wp-content
/themes /plugins /uploads
So, whatever you entered .openshift will be copied to the correct location, but not changed. https://github.com/openshift/wordpress-example
source to share