forked from mozilla/oneanddone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstackato.yml
61 lines (61 loc) · 1.33 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: oneanddone-dev
url:
- oneanddone-dev.paas.allizom.org
mem: 256M
disk: 2G
framework:
type: python
start-file: wsgi/playdoh.wsgi
env:
DJANGO_SETTINGS_MODULE: oneanddone.settings
DJANGO_SECRET_KEY: ${random-word}
DJANGO_HMAC_KEY: ${random-word}
DJANGO_DEBUG: ''
DJANGO_TEMPLATE_DEBUG: ''
DJANGO_DEV: ''
BROWSERID_AUDIENCE: 'https://oneanddone.mozilla.org'
DJANGO_ADMIN_EMAIL: ''
NEW_RELIC_LOG: stderr
NEW_RELIC_APP_NAME: oneanddone.mozilla.org
NEW_RELIC_LICENSE_KEY: ''
HTTPS: on
UWSGI_SCHEME: https
GOOGLE_ANALYTICS_ID: ''
EMAIL_HOST: ''
SERVER_EMAIL: ''
requirements:
pip:
- MySQL-python==1.2.3
- jinja2==2.5.5
- py-bcrypt==0.3
min_version:
client: 1.4.5
services:
${name}-db: mysql
${name}-memcache: memcached
media: filesystem
hooks:
post-staging:
- python manage.py syncdb --noinput
- python manage.py migrate --noinput
# Currently these have to be run locally prior to pushing. :(
#- npm install less
#- python manage.py collectstatic --noinput
#- python manage.py compress_assets
processes:
web: $STACKATO_UWSGI --static-map /static=$HOME/static
ignores:
- ".git"
- "*.pyc"
- "*.pyo"
- "*.swp"
- "*.un~"
- "*.orig"
- "*.sublime*"
- ".coverage*"
- "_coverage/*"
- ".noseids"
- "*settings/local.py"
- "*.sql"
- "mine/*"
- "stackato-*"