-
Notifications
You must be signed in to change notification settings - Fork 6
/
staging.cfg
52 lines (40 loc) · 936 Bytes
/
staging.cfg
1
2
3
4
5
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
49
50
51
52
[buildout]
extends =
buildout.cfg
etc/sources_https.cfg
parts =
VoteIT
crontab-pack
redis
redis-build
redis-server
eggs +=
supervisor
pyramid_exclog
pyramid_redis_sessions
eggs -=
coverage
nose
pyramid_debugtoolbar
pyramid_ipython
lingua
[crontab-pack]
#Pack database to remove old versioned objects
recipe = z3c.recipe.usercrontab
# m h dom mon dow | pack wednesday night
times = 00 03 * * 3
command = ${buildout:directory}/bin/zeopack -u ${buildout:directory}/var/ZEO.sock
[redis]
recipe = hexagonit.recipe.download
strip-top-level-dir = true
url = http://download.redis.io/redis-stable.tar.gz
[redis-build]
recipe = collective.recipe.cmd
on_install = true
on_update = false
cmds = cd ${redis:location} && make
[redis-server]
recipe = collective.recipe.scriptgen
cmd = ${redis:location}/src/redis-server
arguments =
${buildout:directory}/etc/redis.conf