Time has finally come to begin our team’s main project. The first step is to build and install the source code for the project. In this case Drupal. After going online to Drupal’s installation site our team decided that Drupal 7.10 was the best choice for bug development. The latest development version is 8.00 but 7.10 still needs plenty of polishing so we picked the more stable choice. Once on the site I reviewed the thorough installation instructions regarding Drupal installation.
Drupal allows you to download either a tar or zip file of the source code to begin with. Then the code must be placed on a website which will act as your testing environment. For this step, James gave us use of his fusionro website and created a subdomain for the team. He placed these files onto the web page so that we can upload our bug fixes to it to test out and demonstrate. In order to move files however, we needed to choose a file transfer system. For this task we chose filezilla.
After opening filezilla, I logged on to the site using the credentials provided by James to look over the source files and php files to see what all Drupal contained. It was my first look at a FOSS project’s source code in PHP as well as my first time seeing source code from such a well maintained project.
But we are required to have the code built ourselves, and more importantly we need to be able to do it on our own in case we do not have an internet connection or because we want to play around without messing up with the official version. To do this we have to setup a home server to play with Drupal.
As mentioned on the wiki I took the following steps on my Linux computer.
- Download and install LAMP. (Vertrigo is a LAMP package)
- Download Drupal.
- Unzip the archive and rename the extracted folder to “drupal”.
- Open terminal and copy the “drupal” folder to “/var/www”.
- Open an internet browser and enter the URL: http://127.0.0.1/phpMyAdmin
- Enter the user and password that you created through step 1. Under “Create New Database”, type in “Drupal” and hit “Go”.
- Open and internet browser and enter the URL: http://127.0.0.1/drupal
- Follow the instructions form the wizard and it will finish the setup for Drupal automatically.
I performed all these steps without any stumbling blocks along the way. Drupal completed its setup and the code was built. Step 1 of our main project was complete. Time to find our first bug fix.