forked from promet/drupal-stack
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Getting started # | ||
|
||
You should already have installed and configured ruby, chef, vagrant, etc. | ||
|
||
### Install librarian | ||
|
||
Using rubygems with: | ||
|
||
``` | ||
gem install librarian | ||
``` | ||
|
||
### Clone and initialize the repo | ||
|
||
``` | ||
git clone https://github.com/promet/drupal-stack.git | ||
cd drupal-stack | ||
librarian-chef init | ||
``` | ||
|
||
### Test it locally with Vagrant | ||
|
||
I've included a basic Vagrantfile that will allow to test locally using vagrant the full drupal stack: | ||
|
||
``` | ||
vagrant up | ||
``` | ||
|
||
### Using a chef server | ||
|
||
To upload all the cookbooks and roles to a chef-server just run: | ||
|
||
``` | ||
knife cookbook upload -V --all | ||
for f in roles/*.rb; do knife role from file `basename $f`; done | ||
``` | ||
|