mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +03:00
Fix pre-commit hook issues with Docker & Celery
This commit is contained in:
parent
c382894934
commit
c7bb4834e0
|
@ -14,4 +14,4 @@ REDIS_URL=redis://redis:6379/0
|
||||||
# Flower
|
# Flower
|
||||||
CELERY_FLOWER_USER=!!!SET CELERY_FLOWER_USER!!!
|
CELERY_FLOWER_USER=!!!SET CELERY_FLOWER_USER!!!
|
||||||
CELERY_FLOWER_PASSWORD=!!!SET CELERY_FLOWER_PASSWORD!!!
|
CELERY_FLOWER_PASSWORD=!!!SET CELERY_FLOWER_PASSWORD!!!
|
||||||
{% endif %}
|
{%- endif %}
|
||||||
|
|
|
@ -10,4 +10,4 @@ python manage.py migrate
|
||||||
uvicorn config.asgi:application --host 0.0.0.0 --reload
|
uvicorn config.asgi:application --host 0.0.0.0 --reload
|
||||||
{%- else %}
|
{%- else %}
|
||||||
python manage.py runserver_plus 0.0.0.0:8000
|
python manage.py runserver_plus 0.0.0.0:8000
|
||||||
{% endif %}
|
{%- endif %}
|
||||||
|
|
|
@ -21,4 +21,3 @@ export AWS_STORAGE_BUCKET_NAME="${DJANGO_AWS_STORAGE_BUCKET_NAME}"
|
||||||
aws s3 cp s3://${AWS_STORAGE_BUCKET_NAME}${BACKUP_DIR_PATH}/${1} ${BACKUP_DIR_PATH}/${1}
|
aws s3 cp s3://${AWS_STORAGE_BUCKET_NAME}${BACKUP_DIR_PATH}/${1} ${BACKUP_DIR_PATH}/${1}
|
||||||
|
|
||||||
message_success "Finished downloading ${1}."
|
message_success "Finished downloading ${1}."
|
||||||
|
|
||||||
|
|
|
@ -27,4 +27,3 @@ message_info "Cleaning the directory ${BACKUP_DIR_PATH}"
|
||||||
rm -rf ${BACKUP_DIR_PATH}/*
|
rm -rf ${BACKUP_DIR_PATH}/*
|
||||||
|
|
||||||
message_success "Finished uploading and cleaning."
|
message_success "Finished uploading and cleaning."
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user