How to Install LiteCart on Cloud9 IDE
LiteCart 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 LiteCart without any prior knowledge of programming.
This post will present a step by step guide on how to install LiteCart for free on Cloud9 for development purposes, please note that it’s not advisable to install a Production version of LiteCart 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.
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.
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/litecart/litecart.git”
Step Three
You’ll then be directed to your workspace, we need to move the content of the public_html folder to the main directory (trial) in my case, that can be done by simply dragging and dropping the content in the side menu from (public_html) to (trial).
Step Four
After the unzip is complete 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.
Step Five
In the first part of the installation process, you should enter the database credentials, use the ones in the screenshot below; Database Server “localhost”, Login “root”, Database Name “c9”. Then create your admin login credentials. In the Collation section change it from the drop down menu to “utf8_genera_ci”.
Step Six
In the second part of the installation process, select the country and create your log in credentials (username and password”. Finally hit the “Install Now” tab.
Step Seven
After the installation is complete, at the bottom of the web-page you shall find a link to the back end of your shop just click on it.
Step Eight
Now, you’ll be directed to the log in window, use the credentials you’ve created in step six to login.
Step Nine
You’ll then be directed to your online shop back-end.
Congratulations, now you have a fully functional installation of LitecartCart on Cloud9, as it’s been advised above this installation should be for development purposes only and not for production.