{% block install_deps %}{{ indent }}sudo apt-get install {{ python_version }} {{ python_version }}-dev build-essential
{% 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 }}{{ control_command }} worker -Q {{ required_celery_queues|join:',' }} &
{% endif %}{{ indent }}{{ control_command }} server
{% endblock %}
