opencart-on-cloud-9-logo-332x113-332x78

OpenCart is a free and open source e-commerce CMS  that allows its user to have an online store where they can sell their merchandise, you can start an online store using OpenCart without any prior knowledge of programming.

This post will present a step by step guide on how to install OpenCart for free on Cloud9 for development purposes, please note that it’s not advisable to install a Production version of OpenCart on Cloud9 as the free tier isn’t designed for that intended purpose. Now, and without further ado let’s dive into the tutorial.

Prerequisite

First, you’ll need to sign-up for the free version of Cloud9.

zero - Joomla on Cloud 9

Installation

Step One

After signing up and confirming your email, you’ll be directed to your dashboard, just click on the “create a new workspace” tab.

9 - Joomla on Cloud 9

Step Two

You’ll be directed to a new window where you should configure your workspace, select the “php” option and then create the workspace. In the “Clone from Git” field copy and paste the following link “https://github.com/opencart/opencart.git”

1 - OpenCart on Cloud9 IDE

Step Three

You’ll then be directed to your workspace, we need to move the content of the “upload” folder to the main directory (trial) in my case, that can be done by simply dragging and dropping the content of the folder from the side menu from (upload) to (trial).

Step Four

Now, we need to rename the file config-dist.php to config.php, this could be done by simply right clicking the file and choosing “rename”.

2 - OpenCart on Cloud9 IDE

Step Five

Now we need to rename the file config-dist.php inside the admin folder to config.php, this could be done by simply right clicking it and selecting rename.

3 - OpenCart on Cloud9 IDE

 

Step Six

Now, just click on the “Run Project” arrow, then click on “Preview”, the installation window will appear in a browser-like window on the side of your screen.

2 - Joomla on Cloud 9

Step Seven

In the first step of the installation wizard, you’ll agree to the license, then hit the “Continue” tab.

4 - OpenCart on Cloud9 IDE

Step Eight

In the next step, the installation will check for the pre-requisites, just hit the “Continue” tab.

5 - OpenCart on Cloud9 IDE

Step Nine

In the following step, you should enter the database credentials, use the ones in the screenshot below; Database Server “0.0.0.0”, Login “root”, Database Name “c9”. Then create your admin login credentials.

6 - OpenCart on Cloud9 IDE

Step Ten

In the following step, just select the “Go to your online shop”.

7 - OpenCart on Cloud9 IDE

 

Step Eleven

You’ll then be directed to your online shop.

 

 9 - OpenCart on Cloud9 IDE

Congratulations, now you have a fully functional installation of OpenCart on Cloud9, as it’s been advised above this installation should be for development purposes only and not for production.