aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-10-28 11:34:58 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-10-28 11:34:58 -0200
commitf5d5d9aff8eb49c52ff2692116b48c5ac23057e1 (patch)
tree252b21cc10da03e93a1a07f7a810323645eda164 /README.md
parente82691d837ef9e27f1cffaaae37d9197f3542d3f (diff)
downloadtemplater-f5d5d9aff8eb49c52ff2692116b48c5ac23057e1.tar.gz
templater-f5d5d9aff8eb49c52ff2692116b48c5ac23057e1.tar.bz2
README: Drupal 8 Development example
Diffstat (limited to 'README.md')
-rw-r--r--README.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/README.md b/README.md
index eb1c7af..ca28478 100644
--- a/README.md
+++ b/README.md
@@ -19,3 +19,33 @@ You can also verify the latest commit's OpenPGP signature:
Note that `/usr/bin/git` is called to avoid any other `git` wrappers or aliases
you might have available on your shell.
+
+## Example: Drupal 8 Development
+
+Create the project (requires [KVMX](https://kvmx.fluxo.info)):
+
+ templater drupal8 basic gpl conduct git puppet kvmx drupal8 && cd drupal8
+
+Basic puppet configuration:
+
+ puppet/bin/submodules
+ cp puppet/config/node/box.example.org.yaml puppet/config/node/drupal8.example.org.yaml
+ vim puppet/config/node/drupal8.example.org.yaml # set nodo::role to 'dev::drupal8'
+
+Edit your drupal config
+
+ vim settings.php # database config
+
+Set kvmx parameters:
+
+ kvmx edit # basebox provision_rsync provision_command run_spice_client port_mapping shared_folder_mountpoint
+
+Provision the virtual machine:
+
+ kvmx up && kvmx provision
+
+Go inside the machine and install the drupal instance:
+
+ kvmx ssh
+ make drush
+ make site_install