forked from WFP-Dubai/ETS
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbase.cfg
More file actions
96 lines (81 loc) · 2.17 KB
/
base.cfg
File metadata and controls
96 lines (81 loc) · 2.17 KB
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
[buildout]
extensions = mr.developer
sources-dir = parts
auto-checkout =
django-audit-log
django-mailer
django-logicaldelete
pyqrcode
django-google-analytics
django-ajax-selects
django-clear-cache
base-eggs =
WFP-ETS
eggs = ${buildout:base-eggs}
base-parts =
interpreter
instance
cmds
sphinx
parts = ${buildout:base-parts}
#log-level = ERROR
unzip = true
newest = false
versions = versions
develop = .
relative-paths = true
include-site-packages = false
exec-sitecustomize = false
[versions]
setuptools >= 0.6
[sources]
django-audit-log = git https://github.com/Arpaso/django-audit-log.git
django-mailer = git http://github.com/jtauber/django-mailer.git
django-logicaldelete = git http://github.com/paltman/django-logicaldelete.git
pyqrcode = git https://github.com/dudarev/pyqrcode.git
django-ajax-selects = git git://github.com/Arpaso/django-ajax-selects.git
django-google-analytics = git http://github.com/clintecker/django-google-analytics.git
django-clear-cache = git git://github.com/rdegges/django-clear-cache.git
#interpreter part
[interpreter]
recipe = zc.recipe.egg
eggs =
${buildout:eggs}
interpreter = python
scripts = python
#interpreter part end
#instance part
[instance]
recipe = djangoprojectrecipe
python = interpreter
eggs = ${interpreter:eggs}
#projectegg = ets
settings = ets.settings
wsgi = true
#test = ets
#instance part ends
#sphinx part
[sphinx]
recipe = collective.recipe.sphinxbuilder
interpreter = export DJANGO_SETTINGS_MODULE=ets.dev_settings; ${buildout:directory}/bin/python
script-name = make-docs
source = ${buildout:directory}/docs
build = ${buildout:directory}/docs/_build
outputs =
html
#sphinx part ends
#cmds part
[cmds]
recipe = collective.recipe.cmd
on_install=true
on_update=true
base-cmds=
# Create DB relations and migrate them
./bin/instance syncdb --noinput --migrate --database=default
./bin/instance loaddata groups --database=default
./bin/instance loaddata permissions --database=default
#Collect static files
./bin/instance collectstatic --noinput --link
cmds=
${cmds:base-cmds}
#cmds part ends