Spaces:
Sleeping
Sleeping
Delete start.sh
Browse files
start.sh
DELETED
|
@@ -1,13 +0,0 @@
|
|
| 1 |
-
#!/bin/bash
|
| 2 |
-
|
| 3 |
-
# Apply database migrations
|
| 4 |
-
python manage.py migrate
|
| 5 |
-
|
| 6 |
-
# Collect static files
|
| 7 |
-
python manage.py collectstatic --noinput
|
| 8 |
-
|
| 9 |
-
# Start the Telegram Bot in the background
|
| 10 |
-
python manage.py run_telegram_bot &
|
| 11 |
-
|
| 12 |
-
# Start the Web Server in the foreground (so the container stays running)
|
| 13 |
-
exec gunicorn credit_card.wsgi:application --bind 0.0.0.0:7860
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|