Giter Club home page Giter Club logo

vagrant-chef-dlamp's Introduction

What

VirtualBox Vagrant Chef Drupal install

How

  1. Download and Install VirtualBox (ensure you are on the latest version 4.0.8+)
  2. Install vagrant
  3. Download or Clone this project go to the folder and launch the box: cd [vagrant project directory]; vagrant up
  4. Add this line to your /etc/hosts (or windows equivalent): 10.0.0.10 dev-site.local
  5. Alternately, use homebrew on your macbook air to install dnsmasq, and add the following line to your dnsmasq.conf file: address=/.vm/10.0.0.10
  6. Drink a big kombucha while you listen to a Diamond Rings EP on vinyl, because clearly you're a giant hipster.

That's it, files in "public" are served here : http://dev-site.local/, and if you have a new MySQL database and drop a copy of Drupal into the public directory, you'll be ready to go.

To connect to the console of you instance: vagrant ssh

Why

This project is based on the Vagrant Project on Drupal.org, but includes a number of tweaks.

  1. Instead of provisioning a Drupal site using Chef, it simply sets up Apache to serve incoming requests from the shared Vagrant public directory. It assumes that you'll be maintaining one VM for each simulated multisite instance.
  2. It doesn't install PHPMyadmin, because that makes baby Jesus cry. If you need to poke at the DB, use a tool like Sequel Pro, and log into the DB over the Vagrant SSH connection.
  3. It installs Drush 5.7 via PEAR instead of a custom Chef recipe. Because lazy.

You can add XDEBUG_PROFILE to your GET parameter to generate an xdebug profile, e.g. http://dev-site.vbox.local/?XDEBUG_PROFILE

You can then investigate at http://dev-site.local/webgrind/

Other projects of interest

vagrant-chef-dlamp's People

Contributors

arturo-c avatar carwin avatar christianchristensen avatar eaton avatar emmajane avatar glennpratt avatar mgifford avatar neclimdul avatar tommyent avatar ymainier avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.