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.
First, you’ll need to sign-up for the free version of Cloud9.
After signing up and confirming your email, you’ll be directed to your dashboard, just click on the “create a new workspace” tab.
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”
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).
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”.
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.
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.
In the first step of the installation wizard, you’ll agree to the license, then hit the “Continue” tab.
In the next step, the installation will check for the pre-requisites, just hit the “Continue” tab.
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.
In the following step, just select the “Go to your online shop”.
You’ll then be directed to your online shop.
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.