aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-09 23:25:37 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-09 23:25:37 -0200
commitfa180f34165246e66ea24f2f9e8b99023f95231d (patch)
tree8254c8438e36edad674e729ecd4c95e2b0111bcf /README.md
parent674f6a8cd03ba58a312ce1af75bd217a51f2b886 (diff)
downloadtemplater-fa180f34165246e66ea24f2f9e8b99023f95231d.tar.gz
templater-fa180f34165246e66ea24f2f9e8b99023f95231d.tar.bz2
README: example: basic project
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 11 insertions, 2 deletions
diff --git a/README.md b/README.md
index 33560f5..d7b3b75 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,16 @@ 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
+## Examples
+
+### Basic project
+
+Say you want to start a new project `myproject` at `$HOME/src/myproject`, using git, basic
+files an a GPLv3 license:
+
+ templater $HOME/src/myproject basic gpl git
+
+### Drupal 8 Development
Create the project (requires [KVMX](https://kvmx.fluxo.info)):
@@ -47,7 +56,7 @@ Install the drupal instance:
echo '( cd /srv/kvmx && make drush )' | kvmx ssh
echo '( cd /srv/kvmx && make site_install )' | kvmx ssh
-### Writing modules
+## Writing modules
Modules can be written using any programming language. It will be called from the project
toplevel folder with templater's `share` folder as the first parameter.