Commit b47b8161 authored by Marco Mariani's avatar Marco Mariani

abilian: added readme, rsync extranet repo to buildout part

parent 362c2f6b
* libjpeg62-dev must not be installed before building the SR, or
Pillow will link against the wrong library version and raise this exception:
IOError: encoder error -2 when writing image file
Wrong JPEG library version: library is 62, caller expects 80
* the host needs
/etc/security/limits.conf
* hard nofile 32768
* soft nofile 32768
* 'extra' parameters from json or partition configuration can only be strings
...@@ -46,6 +46,8 @@ parts = ...@@ -46,6 +46,8 @@ parts =
redis redis
unoconv-repository unoconv-repository
extranet-repository
extranet-repository-check
Extranet_SPR Extranet_SPR
nginx nginx
...@@ -67,7 +69,7 @@ develop = ...@@ -67,7 +69,7 @@ develop =
${:parts-directory}/progressbar-repository ${:parts-directory}/progressbar-repository
${:parts-directory}/abilian-core-repository ${:parts-directory}/abilian-core-repository
${:parts-directory}/slapos-cookbook-repository ${:parts-directory}/slapos-cookbook-repository
/opt/slapgrid/src/systematic/extranet_spr ${extranet-repository:target-directory}/${extranet-repository:part-name}
[git-repository] [git-repository]
...@@ -80,6 +82,23 @@ stop-on-error = true ...@@ -80,6 +82,23 @@ stop-on-error = true
update-command = ${:command} update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/${:egg-link} command = grep parts ${buildout:develop-eggs-directory}/${:egg-link}
[extranet-repository]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
source-directory = /opt/slapgrid/src/systematic/${:part-name}
part-name = extranet_spr
target-directory = ${buildout:parts-directory}/
command =
rsync -a ${:source-directory} ${:target-directory} --delete-after --delete-excluded --chmod=o-rwx
[extranet-repository-check]
< = git-repository-check
egg-link = Extranet-SPR.egg-link
[weasyprint-repository] [weasyprint-repository]
< = git-repository < = git-repository
repository = https://github.com/mmariani/WeasyPrint.git repository = https://github.com/mmariani/WeasyPrint.git
......
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