How to Install Drupal on Cloud9 IDE
We’ve covered installing Drupal on an IaaS like AWS and on a PaaS like Openshift many times before. We’ve also covered installing Drupal for development purposes on Koding, unfortunately, Koding will no longer provide the free limited VM they used to provide for development purposes, so if you’re like me and you’re seeking an alternative then look no further as Cloud9 is here for the rescue.
This post will present a step by step guide on how to install Drupal for free on Cloud9 for development purposes, please note that it’s not advisable to install a Production version of Drupal 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 Drupal using “wget”, at the time of writing this post the command should be as follow;
Wget https://ftp.drupal.org/files/projects/drupal-8.1.6.zip
Step Four
After the download is complete just unzip the downloaded folder using the following command;
unzip Drupal*
Step Five
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 Six
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 Seven
In the first installation window, just select the language and hit the “Save and Continue” tab.
Step Eight
In the next step, you’ve to select the installation profile, select standard then click on the “Save and Continue” tab.
Step Nine
The installation will check the installation requirements, just click on the continue anyway link at the bottom of the window.
Step Ten
In the following step, you should enter your database credentials, use the one in the screenshot below; host-name “0.0.0.0”, username “root”, database name “c9”.
Step Eleven
In the following step, you should enter the website name, password and admin username, create these credentials, then hit the “Save and Continue” tab.
Congratulations, you now have a fully functional installation of Drupal on Cloud9, as it’s been advised above this installation should be for development purposes only and not for production.