forked from mozilla/remo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
stackato.yml
43 lines (35 loc) · 841 Bytes
/
stackato.yml
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
name: reps
ignores:
- ".git"
- "*.pyc"
- "*.pyo"
- "*.swp"
- "*~"
- "remo/settings/local.py"
env:
DJANGO_SETTINGS_MODULE: remo.settings
PIP_REQUIREMENTS_FILE: requirements/stackato.txt
HMAC_KEY: ${random-word}
SECRET_KEY: ${random-word}
requirements:
pypm:
- mysql-python
services:
${name}-mysql: mysql
${name}-memcached: memcached
mem: 512M
framework:
type: python
start-file: wsgi/playdoh.wsgi
runtime: python27
processes:
web: $STACKATO_UWSGI --static-map /static=$HOME/static/
hooks:
post-staging:
- npm config set registry http://registry.npmjs.org/
- npm install less
- python manage.py syncdb --noinput
- python manage.py migrate
- python manage.py update_product_details
- python manage.py collectstatic --noinput
- python manage.py compress_jingo --force