Skip to content
Snippets Groups Projects
Commit c0fb98c3 authored by derneuere's avatar derneuere
Browse files

Collect static on every startup

parent 52f4bd17
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ if [[ "$(uname -m)" == "aarch64"* ]]; then ...@@ -8,6 +8,7 @@ if [[ "$(uname -m)" == "aarch64"* ]]; then
fi fi
mkdir -p /logs mkdir -p /logs
python manage.py collectstatic --no-input
python image_similarity/main.py 2>&1 | tee /logs/gunicorn_image_similarity.log & python image_similarity/main.py 2>&1 | tee /logs/gunicorn_image_similarity.log &
python manage.py showmigrations | tee /logs/show_migrate.log python manage.py showmigrations | tee /logs/show_migrate.log
python manage.py migrate | tee /logs/command_migrate.log python manage.py migrate | tee /logs/command_migrate.log
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment