Replace bash based waiting with python based django-probes.
This commit is contained in:
parent
0c9d9f630e
commit
204db34282
3 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,8 @@ set -eo pipefail
|
|||
|
||||
source /venv/bin/activate
|
||||
|
||||
# first wait for the database
|
||||
umap wait_for_database
|
||||
# then migrate the database
|
||||
umap migrate
|
||||
# then collect static files
|
||||
|
|
|
@ -36,6 +36,7 @@ dependencies = [
|
|||
"django-agnocomplete==2.2.0",
|
||||
"django-compressor==4.3.1",
|
||||
"django-environ==0.10.0",
|
||||
"django-probes==1.7.0",
|
||||
"Pillow==9.5.0",
|
||||
"psycopg2==2.9.6",
|
||||
"requests==2.31.0",
|
||||
|
|
|
@ -117,6 +117,7 @@ INSTALLED_APPS = (
|
|||
'django.contrib.admin',
|
||||
'django.contrib.gis',
|
||||
|
||||
'django_probes',
|
||||
'umap',
|
||||
'compressor',
|
||||
'social_django',
|
||||
|
|
Loading…
Reference in a new issue