blob: c294c9ee2c4c938c52f1b3dbcc6e43ce16fb30d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
Templater
=========
Skeletor: project bootstrapping made easy! A boilerplater of useful utilities
for your software project.
Tired of tediously creating the basic skeleton for your projects? What if you
forget to add a LICENSE or some other important file?
## Instalation
Simply clone it and add to your `$PATH`:
git clone https://git.fluxo.info/templater
You can also verify the latest commit's OpenPGP signature:
/usr/bin/git -C templater verify-commit HEAD
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
Install the drupal instance:
echo '( cd /srv/kvmx && make drush )' | kvmx ssh
echo '( cd /srv/kvmx && make site_install )' | kvmx ssh
|