null ["/home/wger/entrypoint.sh"]
3:# Bootstrap the application
7:#   * (optionally) Compile custom bootstrap theme
10:if [ "$YARN_PROCESS_STATIC" == "True" ];
14:    echo "bootstrap process with: 'docker compose exec web wger bootstrap'"
18:wger bootstrap --no-process-static
21:if [ "$DJANGO_CLEAR_STATIC_FIRST" == "False" ]; then
27:if [[ "$DJANGO_DEBUG" == "False" && "${DJANGO_COLLECTSTATIC_ON_STARTUP:-True}" == "True"  ]];
33:# Perform database migrations
34:if [[ "$DJANGO_PERFORM_MIGRATIONS" == "True" ]];
36:    echo "Performing database migrations"
37:    python3 manage.py migrate
40:# Sync exercises
41:if [[ "$SYNC_EXERCISES_ON_STARTUP" == "True" ]];
43:    echo "Synchronizing exercises"
44:    python3 manage.py sync-exercises
48:if [[ "$DOWNLOAD_EXERCISE_IMAGES_ON_STARTUP" == "True" ]];
55:if [[ "$DOWNLOAD_EXERCISE_VIDEOS_ON_STARTUP" == "True" ]];
62:if [[ "$LOAD_ONLINE_FIXTURES_ON_STARTUP" == "True" ]];
68:# Sync ingredients
69:if [[ "$SYNC_INGREDIENTS_ON_STARTUP" == "True" ]];
71:    echo "The option SYNC_INGREDIENTS_ON_STARTUP is not supported anymore as it needs several hours to complete."
72:    echo "Please start the process manually with: docker compose exec web python3 manage.py sync-ingredients"
81:if [[ "$WGER_USE_GUNICORN" == "True" ]];

