-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildout.cfg
78 lines (71 loc) · 2.06 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
[buildout]
find-links=
https://github.com/praekelt/panya/tarball/master#egg=panya
develop=${buildout:directory}/src/foundationtargets/setup.py
extensions=
lovely.buildouthttp
buildout.dumppickedversions
extends =
versions.cfg
versions = versions
parts=
foundationtargets
foundationtargets-fcgi
foundationtargets-nginx
media-links
media-fixes
omelette
eggs=
flup
MySQL-python
foundationtargets
unzip = true
# Django instances
[foundationtargets]
recipe = djangorecipe
version = 1.3
project = foundationtargets
projectegg = foundationtargets
settings = settings
eggs = ${buildout:eggs}
# FCGI control scripts
[foundationtargets-fcgi]
recipe = collective.recipe.template
input = buildout_templates/supervisor.fcgi.in
output = ${buildout:directory}/supervisor/foundationtargets.conf
name = foundationtargets
control-script = foundationtargets
host = 127.0.0.1
port = 11001
user = django
log=${buildout:directory}/log/fcgi.log
# Nginx configuration files
[foundationtargets-nginx]
recipe = collective.recipe.template
input = buildout_templates/nginx.conf.in
output = ${buildout:directory}/nginx/foundationtargets.conf
server-name = targets.praekeltfoundation.org qa.targets.praekeltfoundation.org
port = 80
fcgi-host = ${foundationtargets-fcgi:host}
fcgi-port = ${foundationtargets-fcgi:port}
media-root = ${buildout:directory}/media
[media-links]
recipe = svetlyak40wt.recipe.symlinks
path = ${buildout:directory}/media
files =
${buildout:parts-directory}/foundationtargets/django/contrib/admin/media admin
${buildout:directory}/src/foundationtargets/foundationtargets/media/foundationtargets
django-ckeditor://ckeditor/media/ckeditor
[media-fixes]
recipe = collective.recipe.template
input = inline:
#!/bin/bash
mkdir ${buildout:directory}/media/uploads
mkdir ${buildout:directory}/media/downloads
mkdir ${buildout:directory}/log
mkdir ${buildout:directory}/log/nginx
echo foo
output = ${buildout:directory}/media/uploads/dummy.txt
[omelette]
recipe = collective.recipe.omelette
eggs = ${buildout:eggs}