start.sh 227 B

1234567891011
  1. #!/bin/bash
  2. cd /root/sharix-open-webapp-base
  3. source venv/bin/activate
  4. python manage.py makemigrations
  5. python manage.py migrate
  6. python manage.py collectstatic -l --noinput
  7. gunicorn core.wsgi:application -c core/gunicorn.py