software.cfg 1.23 KB
Newer Older
Mayoro Diagne's avatar
Mayoro Diagne committed
1 2 3 4 5 6 7 8 9
[buildout]
versions = versions

parts =
  template
  apache-php
  mariadb
  eggs
  instance-recipe-egg
10
  configure-script
Mayoro Diagne's avatar
Mayoro Diagne committed
11 12

extends =
13
   ../../stack/lamp.cfg
Mayoro Diagne's avatar
Mayoro Diagne committed
14 15

[application]
16
recipe = hexagonit.recipe.download:download-unpacked
Mayoro Diagne's avatar
Mayoro Diagne committed
17
url = http://fluxbb.org/download/releases/1.4.7/fluxbb-1.4.7.tar.bz2
18 19 20 21 22
md5sum = bc2168205d404421729cc3b040d6fe15

[configure-script]
recipe = hexagonit.recipe.download
location = ${buildout:parts-directory}/${:_buildout_section_name_}
23
url = ${:_profile_base_location_}/configure-fluxbb.py
24
filename = configure-fluxbb.py
Mayoro Diagne's avatar
Mayoro Diagne committed
25 26 27

[application-template]
recipe = slapos.recipe.download
28
url = ${:_profile_base_location_}/template/config.inc.php.in
Mayoro Diagne's avatar
Mayoro Diagne committed
29 30 31 32 33
filename = template.in
mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}

[application-configuration]
34 35
location = config.inc.php
  
Mayoro Diagne's avatar
Mayoro Diagne committed
36 37 38 39 40 41 42 43 44 45 46 47 48 49
[instance-recipe]
egg = slapos.cookbook
module = lamp.simple

[template]
# Default template for the instance.
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
#md5sum = Student shall put md5 of instance.cfg here
output = ${buildout:directory}/template.cfg
mode = 0644

[instance-recipe-egg]
recipe = zc.recipe.egg
50 51 52
eggs =
    ${mysql-python:egg}
    ${instance-recipe:egg}
53
    slapos.toolbox[lampconfigure]