Skip to main content


Showing posts from March, 2017

[Drupal]Drupal 8 Sandbox

Installation of Drupal 8 Sandbox Why Use the Sandbox version? If you want to give drupal a try, but you're unsure of how it'll look like or want to check how it works, the sandbox version is just for you. If you already know how to set up drupal on your lamp server, then you'll have no problem at all to set up the sandbox version. If, somehow, you can't figure it out, then you can just follow the simple steps below and you'll be there. In the steps below, we'll use Sandbox version of Drupal to generate a new issue, and patch it using Git.                    Requirements: Git Steps: Step 1: Clone it Start by opening your terminal and clone the repository by running the following the command: git clone --branch 8.x drupal-sandbox This command will clone drupal 8 sandbox and the all the files will be in a folder 'drupal-sandbox'. You can change the name of the f

[Drupal]How to generate an Interdiff

What's an interdiff in the first place? An interdiff a simple .txt file which contains all the different changes made between two patches(an old patch and a new patch). Generating an interdiff is relatively easy. Following the steps below will make it easy for you to generate the interdiff. Requirements: patchutils sudo apt-get install patchutils; List of Issues: There's a list of open issues here , whereby you can choose any of them and contribute to Drupal , by patching. For the tutorial, we'll be using the issue with id 2639682 . We'll generate the interdiff for 2639682-26.patch and 2639682-20.patch . Before making the interdiff, you need to download both patches. An easy way to download the script is by using wget. wget wget   Now that you've download both patches, you can generate the inter

[Drupal]How to Install Drupal from Github

Drupal, which is found to be open source, is a building platform, which is used by people all around the world, to share their experiences online. Below are the steps to install Drupal with Git . Requirements: LAMP server Click here if you are having trouble installing LAMP server phpmyadmin Composer Git Steps: To start, you need to clone drupal repository from github Wait for it... Then move the necessary files from the cloned folder to your root directory Run Composer with root permission after moving all the necessary files Wait for it... Creating the database with mysql From the terminal, access your mysql interface by running the following command: Don't forget to replace username with your actual username for your mysql-server. The following are mysql commands, which will be used to create the database, and grant some privileges to it, in order for drupal to create the necessary tables. CREATE DATABASE drupal; GRANT SELECT, INSERT, UPDA