This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

safefctabuja4222
safefctabuja4222

Does October officially support Openshift (https://ww.openshift.com). I successfully installed the CMS to my Openshift account using the installer, but when I cloned the repository to my local machine, all the changes made by October was not reflected. Openshift is based on git, it appears all the changes made by the installer are never committed to the git repository. It will be wonderful if the team can look into adding an official support to make this possible. Thank you all for this wonderful CMS. October ROCKS.

Keios
Keios

October saves almost all settings in database (basic application settings are in /app/config files, those have to be modified by hand / deploy script), multiple instances have to use same database. You should use git to keep your theme versioned and synced between instances. Also cloud-based filesystem (or rsync at least) solution for /uploads folder is needed.

kosir.milan12764
kosir.milan12764

Hi, I just found oktober cms today, it looks interesting so I googled how it's working on openshift. Found your question, looks simple. I've deployed loads of wordpress and other cms stuff there. First of all, what you are NOT doing with git push, which will trigger deploy (for example in wordpress you can install plugins, change themes, etc) will not be automatically committed in openshift repo, so you have to do it manually. This is little script I'm using and works good for me... just do't forget to change YOUR-APP-NAME with your app name :)

ssh -t YOUR-APP-NAME <<'ENDSSH' cd mktemp -d git clone -ns ~/git/$OPENSHIFT_APP_NAME.git . mv .git $OPENSHIFT_REPO_DIR cd $OPENSHIFT_REPO_DIR git reset HEAD git add . -A git commit -a -m "synchronized" && git push rm -r $OPENSHIFT_REPO_DIR/.git ENDSSH

BR, Milan

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.