-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathweb.cfg
131 lines (112 loc) · 2.8 KB
/
web.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[buildout]
parts =
django
django-config
collectedstatic
console_scripts
rubygems
uwsgi
nginx
nginx-config
libevent
memcached
extends =
base.cfg
versions.cfg
eggs =
Django
couchdb
fabric
pysqlite
akorn_search
akorn.scrapers
ipython
requests<1.2.3
django_assets
django-extensions
mock
cssmin
lxml
cssselect
feedparser
pylibmc
auto-checkout =
akorn_search
akorn.scrapers
show-picked-versions = true
versions = versions
[rubygems]
recipe = rubygemsrecipe
gems = sass
[ports]
http = 80
uwsgi = 9005
admin = 9030
supervisor = 9002
[web-supervisor]
programs =
50 memcached ${memcached:location}/bin/memcached [-u ubuntu -m 64]
60 nginx ${nginx:location}/sbin/nginx [-c ${nginx:location}/conf/nginx.conf]
70 uwsgi ${buildout:bin-directory}/uwsgi [--xml ${buildout:directory}/parts/uwsgi/uwsgi.xml]
[hosts]
localhost = 127.0.0.1
wsgi = 127.0.0.1
admin = celery1.private
[libevent]
recipe = hexagonit.recipe.cmmi
url = https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
[memcached]
recipe = hexagonit.recipe.cmmi
url = https://memcached.googlecode.com/files/memcached-1.4.15.tar.gz
configure-options = --with-libevent=${libevent:location}
[uwsgi]
recipe = buildout.recipe.uwsgi
xml-master = True
xml-processes = 3
xml-uid = ubuntu
xml-gid = ubuntu
xml-socket = ${hosts:wsgi}:${ports:uwsgi}
xml-wsgi-file = ${buildout:bin-directory}/django.wsgi
[nginx]
recipe = hexagonit.recipe.cmmi
url = http://nginx.org/download/nginx-1.5.3.tar.gz
[nginx-config]
recipe = collective.recipe.template
input = ${buildout:directory}/templates/nginx/conf/nginx.conf
output = ${nginx:location}/conf/nginx.conf
http_port = ${ports:http}
server_name = akorn.org
admin_name = admin.akorn.org
uwsgi_host = ${hosts:wsgi}
uwsgi_port = ${ports:uwsgi}
admin_host = ${hosts:admin}
admin_port = ${ports:admin}
static_dir = ${buildout:directory}/src/akorn_search/akorn_search/collectedstatic/
[django]
recipe = djangorecipe
projectegg = akorn_search
settings = settings
eggs = ${buildout:eggs}
extra-paths =
${buildout:directory}/src
${buildout:directory}/src/akorn_search
${buildout:directory}/src/akorn_search/akorn_search
test = akorn_search
wsgi = true
[django-config]
recipe = collective.recipe.template
input = ${buildout:directory}/src/akorn_search/akorn_search/local_settings.default.py
output = ${buildout:directory}/src/akorn_search/akorn_search/local_settings.py
[collectedstatic]
recipe = collective.recipe.cmd
on_install=true
on_update=true
cmds = ${buildout:bin-directory}/django collectstatic --noinput --link
[console_scripts]
recipe = zc.recipe.egg
eggs = ${buildout:eggs}
scripts = ipython
[supervisor]
recipe = collective.recipe.supervisor
programs = ${web-supervisor:programs}
port = ${ports:supervisor}