-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathgondor.yml
42 lines (34 loc) · 1.25 KB
/
gondor.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
# The key associated to your site.
key: TRMQTYHEVR3
# Version control system used locally for your project.
vcs: git
# Python version to run on Gondor.
# runtime: python-2.7.3
# This path is relative to your project root (the directory gondor.yml lives in.)
requirements_file: requirements.txt
# Commands to be executed during deployment. These can handle migrations or
# moving static files into place. Accepts same parameters as gondor run.
on_deploy:
- manage.py syncdb --noinput
- manage.py collectstatic --noinput
# URLs which should be served by Gondor mapping to a filesystem location
# relative to your writable storage area.
static_urls:
- /site_media:
root: site_media/
wsgi:
# The WSGI entry point of your application in two parts separated by a
# colon. Example:
#
# wsgi:application
#
# wsgi = the Python module which should be importable
# application = the callable in the Python module
entry_point: scipy2014.wsgi:application
# Options for gunicorn which runs your WSGI project.
gunicorn:
# The worker class used to run gunicorn (possible values include:
# sync, eventlet and gevent)
worker_class: sync
env:
DJANGO_SETTINGS_MODULE: scipy2014.settings_gondor