-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildout-init.cfg
71 lines (61 loc) · 1.6 KB
/
buildout-init.cfg
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[buildout]
extends =
cfgrepo/config/base.cfg
buildout-local.cfg
parts =
init-mariadb
init-php
init-nginx
init-nodejs
init-java
init-sys
init-app-phpinfo
init-app-wpmw
#########
# the base buildout part to initialize a folder.
# on_update is set to false, which means the part will be skipped
# during the update process.
#
[init-base]
recipe = collective.recipe.cmd
on_install = true
on_update = false
target-folder = target
cmds =
mkdir -p ${:target-folder}/downloads
ln -s ${buildout:directory}/bootstrap.py ${:target-folder}/bootstrap.py
ln -s ${buildout:directory}/cfgrepo ${:target-folder}/cfgrepo
ln -s ${buildout:directory}/buildout-local.cfg ${:target-folder}/buildout-local.cfg
ln -s ${buildout:directory}/buildout-dev.cfg ${:target-folder}/buildout-dev.cfg
touch ${:target-folder}/buildout.cfg
cd ${:target-folder}
python bootstrap.py
################
# this part will get ready the buildout configuration for MarisDB
[init-mariadb]
<= init-base
target-folder = ${settings:mariadb-folder}
################
# buildout configruation for PHP
# PHP depends on MariaDB binary.
[init-php]
<= init-base
target-folder = ${settings:php-folder}
[init-nginx]
<= init-base
target-folder = ${settings:nginx-folder}
[init-sys]
<= init-base
target-folder = ${settings:sys-folder}
[init-app-phpinfo]
<= init-base
target-folder = ${settings:app-phpinfo-folder}
[init-nodejs]
<= init-base
target-folder = ${settings:nodejs-folder}
[init-java]
<= init-base
target-folder = ${settings:java-folder}
[init-app-wpmw]
<= init-base
target-folder = ${settings:app-wpmw-folder}