Commit 6f3775af authored by Noe Nieto's avatar Noe Nieto 💬

Add instrucctions on how to use the liberty shop playbook

parent 03cc5615
*.sublime-*
*.retry
......@@ -4,14 +4,31 @@ This is a library with ansible paybooks useful for any LDH developer.
## Using shipyard
If you are using `shipyard` to manage your VMs look at the following example. Lets run the playbook `liberty_shop.yml` to a VM with hostname `starblade`:
If you are using `shipyard` to manage your VMs look at the following example. Lets run the playbook `liberty_shop.yml` to a VM with hostname `myserver`:
```
$ shipyard playbook starblade liberty_shop.yml
$ shipyard playbook myserver ansible_script.yml
```
## Contained playbooks
- `liberty_shop.yml`: Apache, MariaDB, PHP7 and FPM stack and setups wordpress with `wp_cli`, woocommerce and other plugins.
### `liberty_shop.yml`
This playbook installs and configures the Apache, MariaDB, PHP7+FPM stack, then installs `wp_cli` wordpress then wordpress, woocommerce and other plugins.
In order to use this playbook you need to install some roles with `ansible-galaxy`:
```bash
ansible-galaxy install geerlingguy.php geerlingguy.php-xdebug geerlingguy.mailhog geerlingguy.apache-php-fpm oefenweb.wordpress
```
```
Once finished you can in run the playbook:
```
$ shipyard playbook myserver liberty_shop.yml
```
Step by step instructions can be found [in the wiki](https://source.puri.sm/liberty/ldh_developer/wikis/woocommerce/install).
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment