{% block install_deps %}{{ indent }}sudo apt-get install {{ python_version }} {{ python_version }}-dev build-essential ruby
{% endblock %}{% block application %}{{ indent }}pip install {{ DF_MODULE_NAME }}
{% endblock %}{% block pre_application %}{% endblock %}{{ indent }}{{ control_command }} migrate  # create the database (SQLite by default)
{{ indent }}{{ control_command }} collectstatic --noinput  # prepare static files (CSS, JS, …)
{% block post_application %}{{ indent }}{{ control_command }} createsuperuser  # create an admin user
{% endblock %}{% block run_application %}{% if USE_CELERY %}{{ indent }}{{ processes.celery }} worker &  # launch the Celery worker
{% endif %}{% if processes.aiohttp %}{{ indent }}{{ processes.aiohttp }}
{% elif processes.gunicorn %}{{ indent }}{{ processes.gunicorn }}
{% endif %}{% endblock %}
