mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-12-06 00:14:10 +03:00
14 lines
278 B
Bash
14 lines
278 B
Bash
#!/bin/bash
|
|
|
|
set -o errexit
|
|
set -o pipefail
|
|
set -o nounset
|
|
|
|
|
|
python manage.py migrate
|
|
{%- if cookiecutter.use_async == 'y' %}
|
|
uvicorn config.asgi:application --host 0.0.0.0 --reload --reload-include '*.html'
|
|
{%- else %}
|
|
python manage.py runserver_plus 0.0.0.0:8000
|
|
{%- endif %}
|