Skip to content

Instantly share code, notes, and snippets.

@justhamade
Last active December 20, 2015 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justhamade/6123987 to your computer and use it in GitHub Desktop.
Save justhamade/6123987 to your computer and use it in GitHub Desktop.
Stackato example stackato.yml
name: stackto-demo
framework:
type: python
runtime: python27
min_version:
client: 1.5.1
env:
DJANGO_SETTINGS_MODULE: settings.production
requirements:
pip:
- mysql-python
- django
- south
- django-bootstrap-forms
- mock
- gdata
- django-mobile
- pycrypto
- django-compress
- django-recaptcha
- django-cache-machine
- django-extensions
- gunicorn
- python-memcached
services:
${name}-db: mysql
${name}-memcached: memcached
processes:
web: $STACKATO_UWSGI --check-static $HOME/static --check-static $HOME/media
hooks:
post-staging:
- python manage.py syncdb --noinput
- python manage.py migrate --noinput
- python manage.py collectstatic --noinput
ignores:
- .git
- dev.db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment