This repository has been archived by the owner on Dec 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of github.com:hashbangcode/vlad-docs into dev
- Loading branch information
Showing
35 changed files
with
527 additions
and
255 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,5 @@ | ||
[![Documentation Status](https://readthedocs.org/projects/vlad-docs/badge/?version=latest)](https://readthedocs.org/projects/vlad-docs/?badge=latest) | ||
|
||
# Documentation repository for Vlad | ||
|
||
Contribute to this project to improve the documentation for [Vlad](https://github.com/hashbangcode/vlad). |
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
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 |
---|---|---|
@@ -1,24 +1,24 @@ | ||
**Vlad Installed Applications** | ||
<h1>Vlad Installed Applications</h1> | ||
|
||
Vlad can install the following technologies: | ||
|
||
- Apache2 | ||
- Adminer | ||
- [Drupal Install Scripts](drupal.md) | ||
- [Drush](drupal.md) (with the 'site audit' and 'hacked!' modules) | ||
- [Drush](drupal.md) (with the Site Audit & Registry Rebuild extensions) | ||
- Git | ||
- ImageMagick | ||
- Mailcatcher | ||
- Memcached | ||
- [Munin](munin.md) | ||
- [MySQL](mysql.md) | ||
- Node.js (including npm) | ||
- PHP | ||
- Node.js | ||
- [PHP](php.md) | ||
- PimpMyLog | ||
- Redis | ||
- Ruby (via RVM) | ||
- Sendmail | ||
- Solr (Version 4) | ||
- Solr (version 4) | ||
- [Varnish](varnish.md) | ||
- [Xdebug](xdebug.md) | ||
- [XHProf](xhprof.md) |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Munin | ||
<h1>Munin</h1> | ||
|
||
Munin doesn't actually do anything on it's own, you have to connect a Munin server to it. You'll need to connect the Munin server to the virtual machine via port 4949. | ||
Munin doesn't actually do anything on it's own, you have to connect a Munin server to it. You'll need to connect the Munin server to the virtual machine via port 4949. |
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
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,17 @@ | ||
<h1>PHP</h1> | ||
|
||
## PHP Versions | ||
|
||
Different versions of PHP can be installed, but this depends on the operating system selected. | ||
|
||
The following table shows a breakdown of the different versions of PHP that can be installed onto the different operating systems available in Vlad. | ||
|
||
PHP Version | Ubuntu 12 | Ubuntu 14| Centos 6.6 | ||
------------ | ------------- | ---------------- | ---------- | ||
5.3|X||X | ||
5.4|X||X | ||
5.5||X|X | ||
5.6||X|X | ||
|
||
<p> </p> | ||
|
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# Varnish | ||
<h1>Varnish</h1> | ||
|
||
A reverse proxy server that is used as a cache mechanism for Apache page requests. Varnish listens on port 80, but it can be bypassed by directly accessing Apache on port 8080. | ||
|
||
The Varnish secret key for the box is 04788b22-e179-4579-aac7-f3541fb40391, you will need this when using the Varnish modules in Drupal. | ||
Also you will need to select 3.x as your Varnish version and set the Varnish Control Terminal to be 127.0.0.1:6082. | ||
|
||
This module can be found at [https://www.drupal.org/project/varnish/](https://www.drupal.org/project/varnish/) | ||
This module can be found at [https://www.drupal.org/project/varnish/](https://www.drupal.org/project/varnish/). |
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
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
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
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
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 |
---|---|---|
@@ -1,36 +1,28 @@ | ||
In order to make the Ansible tasks in Vlad easy to read they should follow the following order of attributes: | ||
|
||
1. name - should also follow the name convention | ||
2. module - followed by attributes (e.g. command: ls -la) | ||
3. with_items - used to supply a list of options to the task | ||
4. sudo - used if the task needs sudo access | ||
5. when - used to run a check before running the task | ||
6. tags - roles may have their own tags so these should only be added to tasks in certain circumstances | ||
7. any other option pertinent to the operation of the task (like changed_when, failed_when etc) | ||
8. notify - needed if the task changes something that needs to restart a service | ||
<h1>Task attribute order convention</h1> | ||
|
||
The notify option should always appear at the end of the task block. | ||
|
||
Examples: | ||
In order to make the Ansible tasks in Vlad easy to read they should follow the following order of attributes: | ||
|
||
``` | ||
#!yaml | ||
1. `name` - should also follow the [name convention](naming_convention.md). | ||
2. `module` - followed by attributes (e.g. `command: ls -la`). | ||
3. `with_items` - used to supply a list of options to the task. | ||
4. `sudo` - used if the task needs sudo access. | ||
5. `when` - used to run a check before running the task. | ||
6. `tags` - roles will generally have their own tags so these should only be added to tasks in certain circumstances. | ||
7. Any other option pertinent to the operation of the task (e.g. `changed_when`, `failed_when` etc). | ||
8. `notify` - needed if the task changes something that needs to restart a service. This should always appear at the end of the task block. | ||
|
||
- name: add varnish vcl | ||
template: src=varnish_defaultvcl.j2 dest=/etc/varnish/default.vcl | ||
sudo: true | ||
notify: | ||
- restart varnish | ||
``` | ||
## Examples | ||
|
||
``` | ||
#!yaml | ||
- name: install MailCatcher prerequisite packages | ||
apt: pkg={{ item }} state=installed | ||
with_items: | ||
- rubygems | ||
- libsqlite3-dev | ||
- ruby-dev | ||
sudo: true | ||
- name: add varnish vcl | ||
template: src=varnish_defaultvcl.j2 dest=/etc/varnish/default.vcl | ||
sudo: true | ||
notify: | ||
- restart varnish | ||
|
||
``` | ||
- name: install MailCatcher prerequisite packages | ||
apt: pkg={{ item }} state=installed | ||
with_items: | ||
- rubygems | ||
- libsqlite3-dev | ||
- ruby-dev | ||
sudo: true |
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,18 @@ | ||
<h1>Submitting issues</h1> | ||
|
||
If you find a problem with Vlad then we would love to hear from you on the issue queue. Due to the dependent nature of the applications involved it really saves time if you ensure that you are up to date with the Vagrant, VirtualBox, and Ansible software. This helps to eliminate them from the list of problems. | ||
|
||
What also really helps is if you can give us a quick snapshot of what you currently have installed. This can be done by running the following command. | ||
|
||
echo "VirtualBox `VBoxManage --version`"; vagrant --version; ansible --version; vagrant plugin list | ||
|
||
This produces output similar to the following: | ||
|
||
VirtualBox 4.3.14r95030 | ||
Vagrant 1.6.3 | ||
ansible 1.8.4 | ||
configured module search path = None | ||
vagrant-cachier (0.9.0) | ||
vagrant-login (1.0.1, system) | ||
vagrant-share (1.1.1, system) | ||
vagrant-triggers (0.4.1) |
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.