download
raw
377 Bytes
#!/bin/bash
set -e
# Activate conda environment
source /opt/conda/etc/profile.d/conda.sh
conda activate base
# Run migrations
cd /app/backend
python manage.py migrate --noinput
# Collect static files (if not already done)
python manage.py collectstatic --noinput --clear
# Start gunicorn
exec gunicorn --bind 0.0.0.0:7860 --workers 2 --timeout 120 backend.wsgi:application

Xet Storage Details

Size:
377 Bytes
·
Xet hash:
17e2598c9b15bc744673275069b0ecf18c96beb71f47769f1040682a13048c3a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.