ResourceSpace 7.4.7249 on OpenShift
# ssh into openshift remote repo
rhc ssh resourcespace
# backup config.php and filestore
cp ${OPENSHIFT_REPO_DIR}include/config.php ${OPENSHIFT_DATA_DIR}
cp -R ${OPENSHIFT_REPO_DIR}filestore ${OPENSHIFT_DATA_DIR}
# exit from openshift ssh
exit
# check for local file changes
git status
# stage files for commit
git add ...
# check for unincorporated changes on bitbucket remote repo
git pull origin master
# check for unincorporated changes on openshift remote repo
git pull openshift master
# commit the staged files
git commit -m "[message]"
# push the new commit to remote repos on bitbucket and openshift
git push origin master
git push openshift master
- Create a free Red Hat Openshift account
- Getting started with OpenShift
.
|-- .env
|-- app-root
| |-- data ($OPENSHIFT_DATA_DIR)
| |-- repo -> runtime/repo
| `-- runtime
| |-- data
| `-- repo ($OPENSHIFT_REPO_DIR)
| |-- ...deployed application code
| `-- include
| |-- config.php
|-- app-deployments
| |-- current
| | |-- build-dependencies
| | |-- dependencies
| | |-- metadata.json
| | `-- repo
| `-- ...application deployments
|-- git
| `-- [APP_NAME].git
| `-- hooks
| | |-- post-receive
| | |-- pre-receive
| | `-- ... sample hooks
| `-- ... other git directories
`-- ...cartridge directories