0% found this document useful (0 votes)
47 views11 pages

IT 111 Development - Environment

This document provides instructions for setting up a local development environment for Drupal module development. It outlines how to install LAMP (Linux, Apache, MySQL, and PHP), Drush, and Drupal. It describes downloading and configuring XAMPP for LAMP. It also explains how to install Drush, a command line interface for managing Drupal sites, and use basic Drush commands. Finally, it notes how to set up a database in phpMyAdmin for Drupal.

Uploaded by

Denny England
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views11 pages

IT 111 Development - Environment

This document provides instructions for setting up a local development environment for Drupal module development. It outlines how to install LAMP (Linux, Apache, MySQL, and PHP), Drush, and Drupal. It describes downloading and configuring XAMPP for LAMP. It also explains how to install Drush, a command line interface for managing Drupal sites, and use basic Drush commands. Finally, it notes how to set up a database in phpMyAdmin for Drupal.

Uploaded by

Denny England
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11

Drupal Module Development

Outline
LAMP Installation Drush Installation Drupal Installation Workshop 1 Setting up Drupal CMS

LAMP

LAMP working environment platform for opensource CMS/Web Applications


Linux Operating System Apache Web Server Mysql Database Server PHP servser-side scripting language

ScreenShot

Installation Guide
Download XAMPP Install XAMPP in your PC
/opt sudo tar xzvf xampp.x.x.x.tar.gz C /opt sudo /opt/lampp/lampp start sudo /opt/lampp/lampp stop

edit httpd-xampp.conf
sudo vi /opt/lampp/etc/extra/httpd-xampp.conf Insert Require all granted in <Directory /opt/lampp/phpmyadmin> after Allow from all entry

Drush
Drupal Shell Drush Command Line Interface for
Drupal Site Management Why use Drush?
Save time Scriptable Reduce overhead

Drush Installation
Download Drush Install drush in to your PC
drush-7.x.5.9.tar.gz sudo tar xzvf drush-7.x.5.9.tar.gz C /home/ict-clientx/projects chmod u+x /home/ict-clientx/drush/drush

Include drush in the PATH through .bashrc


cd sudo vi .bashrc export PATH=$PATH:/home/ictclientx/drush:/opt/lampp/bin:/usr/local/bin

Drush Basic Commands


To install drupal
sudo drush dl drupal-6.28

To download module
sudo drush dl devel

To enable module
sudo drush en devel

To disable module
sudo drush dis devel

Setting DB for Drupal


Using phpmyadmin
create moduledev database username: moduledev password: moduledev

Workshop
Installation of XAMMP and Drupal

Drupal Module Development

ICT Center
We are making IT happen

Integrity

Commitment

Teamwork

You might also like