Creating a Drupal sandbox using VirtualBox and Drupal Quickstart

10

Click here to load reader

description

A brief overview of the benefits of creating a local instance of Drupal, called a "sandbox", and how to create a working version quickly using the Drupal Quickstart project. See http://wp.me/p2FI0z-nO for related blog post.

Transcript of Creating a Drupal sandbox using VirtualBox and Drupal Quickstart

Page 1: Creating a Drupal sandbox using VirtualBox and Drupal Quickstart

setting up your own drupal sandbox

ed marshdrupal northern nj (nnj) user groupnew jersey institute of technology (njit)

Page 2: Creating a Drupal sandbox using VirtualBox and Drupal Quickstart

self-promotion

ed marsh technical writer content strategist drupal enthusiast homebrewer ▪ mmm beer

edmarsh.com @edmarsh http://www.linkedin.com/in/edmarsh/ http://www.slideshare.net/theedmarsh/

Page 3: Creating a Drupal sandbox using VirtualBox and Drupal Quickstart

tools

virtualboxhttp://virtualbox.org

drupal quickstarthttps://drupal.org/project/quickstart

optional: sass/scss/compass – css preprocessors firebug/chrome web dev tools make file generator – customized drupal

builds

Page 4: Creating a Drupal sandbox using VirtualBox and Drupal Quickstart

why create a local sandbox? worry-free way to learn drupal

easy to set up learn to manage a server if you mess it up, delete it and start over!

runs on any OS – no need to config mac/windows no MAMP/WAMP/XAMPP/CAMP/STAMP needed

all open source – just like drupal can push to production site when ready no bandwidth issueszero dollars

Page 5: Creating a Drupal sandbox using VirtualBox and Drupal Quickstart

why use drupal quickstart? LAMP stack pre-configured

linux (ubuntu)/apache/mySQL/PHP drush (DRUpal SHell – command line interface) sample make files sample drupal 6/7 sites already up and

running netbeans code editor gitg version control user(me)

= lazy; = busy; != dev;

Page 6: Creating a Drupal sandbox using VirtualBox and Drupal Quickstart

make file generator

http://drushmake.me/ select:

drupal version modules themes libraries (jQuery, etc) modules folder go!

Page 7: Creating a Drupal sandbox using VirtualBox and Drupal Quickstart

drush

control your entire site through a command line interface (CLI)

download modules/themes: drush dl projectname

enable downloaded items drush en projectname

Page 8: Creating a Drupal sandbox using VirtualBox and Drupal Quickstart

config virtualbox/quickstart

open virtualbox import appliance quickstart .ova start vm open terminal cd websites

Page 9: Creating a Drupal sandbox using VirtualBox and Drupal Quickstart

create your drupal site!

drush quickstart-create sitename makefile.make

magic! automatically creates

drupal site with name you specify

downloads selected modules/themes from make file

configs mysql db instance creates cron job (run on

timer)

Page 10: Creating a Drupal sandbox using VirtualBox and Drupal Quickstart

resources

virtualbox:http://virtualbox.org

drupal quickstart: https://drupal.org/project/quickstart

drush make file generator:http://drushmake.me/

drush command reference:https://groups.drupal.org/node/28088

g.d.ohttp://groups.drupal.org