-
Notifications
You must be signed in to change notification settings - Fork 12
/
buildout.cfg
79 lines (66 loc) · 2.24 KB
/
buildout.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[buildout]
parts =
pyramid
mongodb
supervisor
test
omelette
coverage
develop = .
versions = versions
[versions]
#zc.recipe.testrunner = 1.2.1
#zope.testing = 3.9.4
[gunicorn]
workers = 4
max-requests = 1000
user = sneridagh
[pyramid]
recipe = zc.recipe.egg
dependent-scripts = true
eggs =
pyramid
gevent
gunicorn
osiris[ldap]
interpreter = python
[mongoconfig]
version = 2.4.3
port = 27017
[mongodb]
recipe = rod.recipe.mongodb
darwin-32bit-url = http://downloads.mongodb.org/osx/mongodb-osx-i386-${mongoconfig:version}.tgz
darwin-64bit-url = http://downloads.mongodb.org/osx/mongodb-osx-x86_64-${mongoconfig:version}.tgz
linux2-32bit-url = http://downloads.mongodb.org/linux/mongodb-linux-i686-${mongoconfig:version}.tgz
linux2-64bit-url = http://downloads.mongodb.org/linux/mongodb-linux-x86_64-${mongoconfig:version}.tgz
linux3-32bit-url = http://downloads.mongodb.org/linux/mongodb-linux-i686-${mongoconfig:version}.tgz
linux3-64bit-url = http://downloads.mongodb.org/linux/mongodb-linux-x86_64-${mongoconfig:version}.tgz
script_name = start_master.sh
quiet=false
fork=false
logpath=${buildout:directory}/var/log/mongodb.log
dbpath=${buildout:directory}/var/data
directoryperdb=true
master=true
update=true
[supervisor]
recipe = collective.recipe.supervisor
port = 9101
user = admin
password = admin
serverurl = http://localhost:9101
programs =
10 mongodb ${buildout:directory}/bin/mongod [--port ${mongoconfig:port} --dbpath ${buildout:directory}/var/data --master --logpath ${buildout:directory}/var/log/mongodb.log --directoryperdb --rest] true
20 osiris ${buildout:directory}/bin/gunicorn_paster [${buildout:directory}/production.ini --workers ${gunicorn:workers} --max-requests ${gunicorn:max-requests} --worker-class gevent --user ${gunicorn:user}] true
# 30 nginx ${nginx:location}/sbin/nginx [-c ${buildout:directory}/production/nginx.conf]
[test]
recipe = tranchitella.recipe.testrunner
eggs = osiris[test]
defaults = ['--auto-color', '--auto-progress']
[coverage]
recipe = tranchitella.recipe.testrunner
eggs = ${test:eggs}
defaults = ['--coverage-module', 'osiris', '--coverage-branch', '--auto-progress', '--coverage-html', '--coverage-xml']
[omelette]
recipe = collective.recipe.omelette
eggs = ${pyramid:eggs}