How to Install Postleaf on Cloud9 IDE
Postleaf is a free and open source blogging platform similar to WordPress and Joomla. So if you want a WordPress alternative that’s simple yet elegant and you want to try it for free then this post is for you.
This post will present a step by step guide on how to install Postleaf for free on Cloud9 for development purposes, please note that it’s not advisable to install a Production version of Postleaf 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.
Step Three
You’ll then be directed to your workspace, in the terminal just download the latest release of Postleaf using “wget”, at the time of writing this post the command should be as follow;
Wget https://postleaf-downloads.s3.amazonaws.com/postleaf-1.0.0-beta7.zip
Step Four
After the download is complete just unzip the downloaded folder using the following command;
unzip pos*
Step Five
Now you’ve to move the files from the “postleaf” folder to the “test” folder by simply dragging and dropping the files.
Step Six
After that 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 Seven
To prevent any problems during the installation HTTP and HTTPS conflict), just click on the pop-out icon in the browser-like window as seen below, and change the HTTPS to HTTP.
Step Eight
In the following step, you should enter your database credentials, use the ones in the screenshot below; host-name “0.0.0.0”, username “root”, database name “c9”.
Step Nine
The installation will complete and congratulations, you now have a fully functional installation of Postleaf on Cloud9, as it’s been advised above this installation should be for development purposes only and not for production.