-
Notifications
You must be signed in to change notification settings - Fork 8
/
buildout.cfg
62 lines (54 loc) · 1.42 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
[buildout]
parts =
production-ini
production
production-indexer
ckeditor
npm-install
compile-js
compile-css
cleanup
[production-ini]
recipe = collective.recipe.template
input = ${buildout:directory}/production.ini.in
output = ${buildout:directory}/production.ini
accession_factory = snowflakes.server_defaults.test_accession
file_upload_bucket = snowflakes-files-dev
blob_bucket = snovault-blobs-dev
indexer_processes =
[production]
recipe = collective.recipe.modwsgi
config-file = ${buildout:directory}/production.ini
[production-indexer]
<= production
app_name = indexer
[ckeditor]
recipe = collective.recipe.cmd
on_install = true
on_update = true
# See http://stackoverflow.com/a/23108309/199100
#TODO consider moving this to snovault-build
cmds =
curl https://s3-us-west-1.amazonaws.com/encoded-build/ckeditor/ckeditor_4.5.5_standard.zip | bsdtar -xf- -C src/snowflakes/static/build/
[npm-install]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds = NODE_PATH="" npm_config_cache="" npm install
[compile-js]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds = NODE_PATH="" npm run build
[compile-css]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds = compass compile
[cleanup]
# Even if we don't need the bin or eggs dirs, buildout still creates them
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds =
rm -rf bin eggs