Skip to content
QuickStart Magento 2 on OpenShift | Magento 2 eCommerce Platforms provide the scalability, flexibility and features for business growth.
Branch: master
Clone or download
Pull request Compare This branch is 4 commits ahead, 2 commits behind namduong:master.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.openshift Clean cache after deploying Dec 4, 2015
public Add Magento 2 with fresh db and OpenShift scripts Dec 3, 2015
README Add Magento 2 with fresh db and OpenShift scripts Dec 3, 2015
README.md Add Magento 2 with fresh db and OpenShift scripts Dec 3, 2015
config.php
env.php Add Magento 2 with fresh db and OpenShift scripts Dec 3, 2015
sample-db.sql.gz Fix base url and add symlink for en_GB admin statics Dec 3, 2015

README.md

Magento 2 on OpenShift

This git repository deploys a Magento 2 store on OpenShift.

An empty database is populated, and the application is configured automagically.

Running on OpenShift

Create an account at http://www.openshift.com/

Get a Magento API key pair

Create a new OpenShift app with NGINX as web server (you can call your application whatever you want), write down your Git Remote SSH url.

rhc create-app $myapp http://cartreflect-claytondev.rhcloud.com/github/boekkooi/openshift-cartridge-nginx API_KEY=123 API_SECRET=123

Install PHP 5.6 cartridge into the app

rhc cartridge add -a $myapp http://cartreflect-claytondev.rhcloud.com/github/boekkooi/openshift-cartridge-php

Install mysql-5.5 cartridge into the app

rhc cartridge add -a $myapp mysql-5.5

Clone this repository and push it to your app, we will take care of everything for you :)

git clone https://github.com/javilumbrales/magento2-openshift
cd magento2-openshift
git remote add $myapp YOUR_GIT_REMOTE_SSH_URL
git push $myapp master -f

That's it, you can now checkout your application at:

http://$appname-$yournamespace.rhcloud.com

Default admin credentials: username admin password OpenShiftAdmin123.

Post-installation details

After the installation it is important to change the admin password and other Magento configurations properly. Log in to

http://$appname-$yournamespace.rhcloud.com/admin123

using the provided credentials and check all system settings, for example:

  • System > My Account
  • System > Configuration > General > Countries Options
  • System > Configuration > General > Locale Options
  • System > Configuration > Admin
  • System > Configuration > System

For a detailed guide check our post How to install Magento 2 on OpenShift

You can’t perform that action at this time.