software.cfg 1.73 KB
Newer Older
1
[buildout]
2
versions = versions  
3
extends =
4
  ../../component/nginx/buildout.cfg
5
  ../../stack/lamp/buildout.cfg
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
parts =
  nginx-php
  mariadb
  mydumper
  mysql-python
  rdiff-backup
  dropbear
  eggs
  instance-recipe-egg
  template
  template-apache-php
  template-mariadb
  template-mariadb-pbsready
  template-mariadb-pbsready-import
  template-mariadb-pbsready-export
  nginx
  slapos.cookbook-repository
  check-recipe

# Local development
develop =
  ${:parts-directory}/slapos.cookbook-repository

# Local development
[slapos.cookbook-repository]
recipe = plone.recipe.command
stop-on-error = true
location = ${buildout:parts-directory}/${:_buildout_section_name_}
command = ${git:location}/bin/git clone --branch wordpress-nginx --quiet http://git.erp5.org/repos/slapos.git ${:location}
update-command = cd ${:location} && GIT_COMMITTER_EMAIL=nobody@example.com GIT_AUTHOR_NAME=Nobody GIT_AUTHOR_EMAIL=nobody@example.com ${git:location}/bin/git pull --quiet

[check-recipe]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link


# Overwrite with local to use nginx instead apache.
[template-apache-php]
url = ${:_profile_base_location_}/instance-apache-php.cfg
md5sum = 047e183a33b226300d8e4507f196637b
49

50
[application]
51
url = http://wordpress.org/latest.tar.gz
52 53
#md5sum = Student may put here md5sum of this file, this is good idea

54 55
[application-template]
recipe = slapos.recipe.download
56
url = ${:_profile_base_location_}/wp-config.php.in
57
md5sum = 0d62b28125ca3c780db0b547199953f2
58 59 60 61 62 63
download-only = True
filename = template.in
mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}

[application-configuration]
64
location = wp-config.php