Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos
Commits
7206f2e7
Commit
7206f2e7
authored
Nov 02, 2011
by
Mayoro Diagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding script section to run it for configuration
parent
5bd41f85
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
15 deletions
+25
-15
software/fluxbb/instance.cfg
software/fluxbb/instance.cfg
+5
-0
software/fluxbb/software.cfg
software/fluxbb/software.cfg
+20
-15
No files found.
software/fluxbb/instance.cfg
View file @
7206f2e7
...
...
@@ -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}
software/fluxbb/software.cfg
View file @
7206f2e7
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment