Skip to content
Snippets Groups Projects
Select Git revision
  • e8fe9b3c194246d5f34c04d7d61f92edda085d07
  • main default protected
  • renovate/sentry-sdk-2.x
  • renovate/django-5.x
  • renovate/whitenoise-6.x
  • develop protected
  • new-changes
  • v3.0.3
  • v3.0.2
  • v3.0.2-develop.1
  • v3.0.1
  • v3.0.0-develop.1
  • v3.0.0
  • v2.1.0
  • v2.0.3
  • v2.0.2
  • v2.0.1
  • v2.0.0
  • v1.1.2
  • v1.1.1
  • v1.1.0
  • v1.0.1
  • v1.0.0
23 results

start.sh

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    start.sh 309 B
    #!/bin/bash
    cd /app || exit
    
    echo "----- Collect static files ------ " 
    python manage.py collectstatic --noinput
    
    echo "-----------Apply migration--------- "
    python manage.py migrate
    
    echo "-----------Run gunicorn--------- "
    export DJANGO_SETTINGS_MODULE=core.settings
    gunicorn -b :8000 core.wsgi:application