Files
project-managment/Procfile
T
sankalp eedb1f1ab6 chore(root): renameproject to config and update configuration files
Enhancements:
- Rename project name from "." to "config" in .djinit and .env.sample
- Update DJANGO_SETTINGS_MODULE references from core to config
- Adjust Procfile, justfile, manage.py, and pyproject.toml to reference config
- Refactor README to reflect new folder layout under config/
- Remove LICENSE file
2026-05-27 23:18:17 +05:45

20 lines
1.0 KiB
Plaintext

# Procfile for config
# Used for deploying to PaaS platforms like Heroku, Railway, Render, etc.
# Web server process (using Gunicorn)
# Adjust workers based on your needs: (2 x CPU cores) + 1
web: gunicorn config.wsgi:application --bind 0.0.0.0:$PORT --workers 2 --timeout 120 --access-logfile - --error-logfile - --log-level info
# Alternative web server configurations (uncomment to use):
# web: gunicorn config.wsgi:application --bind 0.0.0.0:$PORT --workers 4 --threads 2 --timeout 120
# web: gunicorn config.wsgi:application --bind 0.0.0.0:$PORT --workers 2 --worker-class gevent --worker-connections 1000 --timeout 120
# Release task (runs migrations before deployment)
release: python manage.py migrate --noinput && python manage.py collectstatic --noinput
# Uncomment below to run scheduled tasks (if using Celery)
# worker: celery -A config worker --loglevel=info
# beat: celery -A config beat --loglevel=info
# Development server (for local testing with Foreman/Overmind)
# web: python manage.py runserver 0.0.0.0:$PORT