Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Drupal Primer

Drupal Primer

presented at Ipositive App Congress, Dagupan

Paul de Paula

August 09, 2013
Tweet

More Decks by Paul de Paula

Other Decks in Technology

Transcript

  1. Who am I ? l  Former Lead architech of abs-cbnnews.com

    l  DevOps @ New Amsterdam Ideas l  Opensource Adocate for 6 years l  Drupal Pilipinas Core Leader
  2. What is Drupal? l  Open Source software written in php.

    -  Free software and Free to distribute. l  A CMS or content-management system. -  a CMS is a website you build using the website itself. l  A sophisticated web application building tool. -  It is a software application used to upload, edit, and manage content displayed on a website.
  3. Who Created Drupal? Dries Buytaert l  Co-founder and CTO of

    Acquia l  Co-founder of Mollom (acquired by Acquia) l  Co-founder and President of the Drupal Association l  Founder and Project Lead of Drupal
  4. What You Can Do With Drupal? l  Website with Static

    Content l  Website with Dynamic Content l  Single or Multi-Author Blog l  Community Website l  Open Data Platform
  5. Why You Should Use A System Like Drupal? l  Economics

    l  Expandability l  Features l  Community
  6. Bringing people and technology together l  The grassroots community of

    Drupalists followed this recipe of sharing and collaboration to help make Drupal the standard web technology.
  7. l  Enthusiast Websites -  Drupal Dojo - http://www.drupaldojo.com/ -  Lullabot

    Podcasts - http://www.lullabot.com/podcast -  Mastering Drupal - http://www.masteringdrupal.com -  Drupal Ace – http://www.drupalace.com/managing_site -  Drupal Planet – http://drupal.org/planet -  Learn By The Drop – http://learnbythedrop.com -  Mustardseed Media – http://mustardseedmedia.com/podcast
  8. l  The Drupal Association is an educational non- profit organization

    that tasks itself with fostering and supporting the Drupal software project, the community and its growth. l  Supported by both individual members and organizations, the Association uses its resources, network and funds to constantly engage in new projects and initiatives to help educate people about Drupal and support the growth of the Drupal project.
  9. How it came in the Philippines? l  2007 -  Establishment

    of Drupal Association l  2008 -  Thru the effort of Ruben Canlas and Jhef Vicedo they started Philippine Drupal User Group also known as PHDUG
  10. What is CMS? l  Simply, a CMS is a website

    you build using the website itself. l  Businessdictionary.com : -  A content management system (CMS) is a software application used to upload, edit, and manage content displayed on a website. -  A content management system can perform a variety of different tasks for a website including regulating when content is displayed, how many times the content is shown to a specific user, and managing how the content connects or interacts with other elements of the website. -  This software also enables less technical individuals to manage content on a website easily without having an extensive coding background
  11. What is a Campus Tour? l  It is like a

    roadshow and a seminar type of event. l  Our roadmap was a half-day seminar/talks and a half-day Drupal tutorial that encompasses both the students, faculties and the IT administrations people of the colleges, universities and schools all over the Philippines.
  12. Nodes l  Nodes are the basic building blocks of all

    Drupal sites. Every item of content that you add to a Drupal site becomes a node. -  create a page, you created a node. -  create a blog post, you created a node.
  13. Content Construction Kit l  CCK allows you to build a

    node type that meets your exact specifications.
  14. Taxonomy l  Drupal comes with a built in taxonomy system.

    l  It allows you to categorize the nodes on your site. l  It allows you to define vocabularies which consist of one or more terms.
  15. RSS Feeds l  Drupal generates a wide variety of RSS

    feeds. l  RSS allows site administrators and visitors to keep track of new content by subscribing in a feed reader.
  16. Modules l  Modules add functionality to your Drupal site. l 

    The core installation of Drupal includes several modules which are known as core modules. l  Path l  Menu l  Blog l  Comments l  Search l  Upload
  17. Installation Guide l  System requirements l  Step 1: Download and

    extract Drupal l  Step 2: Create the database l  Step 3: Create the settings.php file l  Step 4: Run the installation script l  Step 5: Set up cron l  Step 6: Configure clean URLs
  18. System requirements l  Disk space -  15 Megabytes -  60

    MB for a website with many contributed modules and themes installed. l  Web server -  Apache -  Nginx -  Microsoft IIS
  19. l  Database -  Drupal 6: MySQL 4.1 or higher, PostgreSQL

    7.1, -  Drupal 7: MySQL 5.0.15 or higher with PDO, PostgreSQL 8.3 or higher with PDO, SQLite 3.3.7 or higher -  Microsoft SQL Server and Oracle are supported by additional modules.
  20. l  PHP -  Drupal 6: PHP 4.4.0 or higher (5.2

    recommended). -  Drupal 7: PHP 5.2.5 or higher (5.3 recommended). -  Drupal 8: PHP 5.3.10 or higher.
  21. Step 2: Create the database l  Create a database and

    user using phpMyAdmin 1.  Log in to phpMyAdmin as the root user. 2.  Click Privileges and Add a new User OR you can use root user credential as well.. 3.  In the User name field, enter the username you wish to use. 4.  In the Host field, select Local which is more secure, unless you will be accessing the database with this user from another server. 5.  Enter or generate a password for the user. 6.  In the Database for User list, select Create database with same name and grant all privileges and click Go.
  22. Step 3: Create the settings.php file Note: With Drupal 7.x,

    on some types of shared/ local hosting, if PHP and Apache are run by the same user, Drupal will attempt to execute the first three steps for you. If you get errors referring to the "Settings file" during installation, you can perform these steps manually.
  23. Step 4: Run the installation script l  Choose which profile

    to use for the installation (standard or minimal or your choosen distribution).
  24. Step 5: Set up cron l  What is cron? - 

    Cron is a daemon that executes commands at specified intervals. -  Cron is available on Unix, Linux and Mac servers. -  Windows servers use a Scheduled Task to execute commands. Drupal 7 you can enable cron via the Administration > Configuration > System > Cron Drupal 6 you need to create a cron job or use Poormanscron.