How to Install Composr on Cloud9 IDE
Composr a free and open source CMS, it is supposed to be a general purpose CMS but after downloading it you’ll find that it’s more of a forum/community CMS than a general purpose CMS. As with any other modern CMS, it doesn’t require any prior programming skills to start your portal. If you want to test installing and using Composr then this post is for you.
This post will present a step by step guide on how to install Composr for free on Cloud9 for development purposes, please note that it’s not advisable to install a Production version of the web application 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 “add workspace” plus sign.
Step Two
You’ll be directed to a new window where you should set up your workspace, select the PHP option.
Step Three
In the terminal type the following command to download the latest release of Composr;
wget https://compo.sr/site/dload.php?id=247
Step Four
Now we need to unzip the downloaded file, so type the following command in the terminal;
unzip dload*
Step Five
Now, just click on the “Run Project” arrow, then click on the “Preview”, the installation window will appear in a browser like a side-window.
Step Six
You’ll be directed to the following page, then select the “install.php” option.
Step Seven
In the first step of the installation wizard, you should select the language then click on the “proceed” tab.
Step Eight
In the second step of the installation process, you should accept the EULA, then you should deselect the “set as featured user” option, remember this is a development installation, not a production one. Then hit the “proceed” tab.
Step Nine
In the following step of the installation wizard, you’ll select the forum system and the database that you’ve on your server, leave everything as is and then hit the “proceed” tab.
Step Ten
The following step of the installation process could be divided into 3 parts, in the first part, you should create/enter your master password.
Step Eleven
In the second part of this step, you should create your login credentials; admin and password.
Step Twelve
In the third part of this step, you should enter the database credentials, Host Name “0.0.0.0”, username “root”, database name “c9”, and leave the password blank.
Step Thirteen
The following five steps of the installation process will be completed for you just wait, finally, you’ll be prompted by the congratulations message, in that step select the “configure my composr first” option.
Step Fourteen
Log in using the admin and password you’ve created in step 11. You’ll then be prompted by a message reminding you to delete the “installer.php” file. To do so head to your Cloud9 IDE dashboard and in the side menu, search for the file and simply select and delete.
Congratulations, now you have a fully functional installation of Composr portal on Cloud9. But, remember this installation should be for development only and not as a production copy.