Commit 7206f2e7 authored by Mayoro Diagne's avatar Mayoro Diagne

adding script section to run it for configuration

parent 5bd41f85
......@@ -9,9 +9,14 @@ recipe = ${instance-recipe:egg}:${instance-recipe:module}
source = ${application:location}
template = ${application-template:location}/${application-template:filename}
configuration = ${application-configuration:location}
lampconfigure_directory = ${buildout:bin-directory}/lampconfigure
httpd_binary = ${apache:location}/bin/httpd
mysql_binary = ${mariadb:location}/bin/mysql
mysql_install_binary = ${mariadb:location}/bin/mysql_install_db
mysql_upgrade_binary = ${mariadb:location}/bin/mysql_upgrade
mysqld_binary = ${mariadb:location}/libexec/mysqld
table_name = users
constraint = `id`>1
script = ${configure-script:location}/${configure-script:filename}
......@@ -8,23 +8,29 @@ parts =
eggs
instance-recipe-egg
downloadcache-workaround
configure-script
extends =
http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/lamp:/stack/lamp.cfg
http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/lamp:/stack/shacache-client.cfg
allow-hosts += alastairs-place.net
http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/lamp:/stack/lamp.cfg
http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/stack/shacache-client.cfg
[application]
recipe = hexagonit.recipe.download
url = http://fluxbb.org/download/releases/1.4.7/fluxbb-1.4.7.tar.bz2
#md5sum = Student may put here md5sum of this file, this is good idea
md5sum = bc2168205d404421729cc3b040d6fe15
#If provided tarball does not contain top directory, option shall be changed to false
#strip-top-level-dir = true
strip-top-level-dir = true
[configure-script]
recipe = hexagonit.recipe.download
location = ${buildout:parts-directory}/${:_buildout_section_name_}
url = https://gitorious.org/~mayoro/slapos/yoro-slapos/blobs/raw/master/software/fluxbb/configure-fluxbb.py
filename = configure-fluxbb.py
download-only = True
[application-template]
recipe = slapos.recipe.download
url = https://gitorious.org/~mayoro/slapos/yoro-slapos/blobs/raw/master/software/fluxbb/template/config.php.in
url = https://gitorious.org/~mayoro/slapos/yoro-slapos/blobs/raw/master/software/fluxbb/template/config.inc.php.in
#md5sum = Student may put here md5sum of this file, this is good idea
download-only = True
filename = template.in
......@@ -32,8 +38,8 @@ mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}
[application-configuration]
location = config.php
location = config.inc.php
[instance-recipe]
egg = slapos.cookbook
module = lamp.simple
......@@ -49,15 +55,14 @@ mode = 0644
[instance-recipe-egg]
recipe = zc.recipe.egg
python = python2.7
eggs = ${instance-recipe:egg}
[lxml-python]
find-links += http://pypi.python.org/pypi/lxml/2.3.1
eggs =
${mysql-python:egg}
${instance-recipe:egg}
slapos.toolbox[lampconfigure]
[versions]
# Use SlapOS patched zc.buildout
zc.buildout = 1.5.3-dev-SlapOS-010
slapos.cookbook = 0.20
[downloadcache-workaround]
# workaround irritating problem of hexagonit.recipe.cmmi which automatically
......@@ -69,4 +74,4 @@ recipe = plone.recipe.command
download-cache = ${buildout:directory}/downloads
command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
update-command = ${:command}
stop-on-error = True
stop-on-error = True
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment