GithubHelp home page GithubHelp logo

kerby70 / drupal_cookbook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ah-web/drupal_cookbook

0.0 2.0 0.0 530 KB

Helps prepare a server to host drupal projects and to deploy projects to it

License: Other

drupal_cookbook's Introduction

For Drupalers Wanting a Local Environment

Unless you are interested in contributing to the ruby code contained herein that would provision your virtual machine, Gandalf did not mean for you to come this way.

If you run this from the root of your average drupal project, you will be able to do the vagrant things (assuming you have vagrant and virtualbox installed).

https://gist.github.com/winmillwill/5629196/raw/3400ce207e05e0fa69d3a4dacaeb854d964f0ffa/drupal_vagary.sh)```

Also, patcon's ariadne project may be more your speed if you don't like this
one. See:

https://github.com/myplanetdigital/vagrant-ariadne

# drupal cookbook

Provides a simple lwrp for drupal sites and some example recipes.

# Requirements

php
apache2
mysql
database
apt

# Usage
This example from the foo recipe will configure a doc root on the guest and set
up a database and a vhost. It won't actually put Drupal in there. At this time,
the assumption is that you are using this for local development, and therefore
you will be putting your working copy in the doc root using nfs sharing in
vagrant, or perhaps managing that repository with another cookbook (or
submitting a pull request).

drupal_site 'foo.net' do root '/var/drupals/foo' db 'fooDB' db_username 'fooDBA' db_password 'fooPASS' db_init true end


The following example installs drush of the given version

drush '8.x-6.x-dev'


# Attributes

node['drush']['version'] -- the version of drush to install (drupal.org version
string)

# Recipes

default: provisions the node with a working LAMP stack for Drupal

foo: purely for testing and demonstration

node\_sites: a simple way to invoke the LWRP from your Vagrantfile -- pretty
janky, not especially happy with it, but I feel that multi-tenant drupals is
a pretty important goal and forcing people to knife some data_bags and roles
and is exactly what I don't want to do.

# Author

Author:: Will Milton (<[email protected]>)

drupal_cookbook's People

Contributors

dsdobrzynski avatar winmillwill 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.