acadmic texts

This commit is contained in:
Manuel
2025-09-23 20:01:52 +02:00
parent 2658a71651
commit 918889e6df
24 changed files with 1040 additions and 867 deletions

4
run.sh
View File

@@ -9,11 +9,11 @@ SECRET_KEY=
UPLOADS_DIR=./uploads
PROCESSED_DIR=./processed
# Start Gunicorn in the background
gunicorn -w 4 --threads 2 -k uvicorn.workers.UvicornWorker --forwarded-allow-ips='*' --error-logfile - --access-logfile - main:app -b 0.0.0.0:8000 &
gunicorn -w 4 --threads 2 -k uvicorn.workers.UvicornWorker --forwarded-allow-ips='*' --error-logfile - --access-logfile - main:app -b 0.0.0.0:8008 &
echo "Started Gunicorn..."
# Store the Gunicorn process ID
GUNICORN_PID=$!
echo "Gunicorn PID: $GUNICORN_PID"
# Start the Huey consumer in the foreground
exec huey_consumer.py main.huey -w 4
echo "Started Huey consumer..."
echo "Started Huey consumer..."