-
Notifications
You must be signed in to change notification settings - Fork 0
Create process management script #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR introduces a PM2 ecosystem configuration file for managing multiple processes (frontend, backend API, and Celery workers) and adds gunicorn as a dependency for running the Django backend in production.
Changes:
- Added
ecosystem.config.jsto configure PM2 process management for the frontend app, Django API server (via gunicorn), Celery worker, and Celery beat scheduler - Added
gunicorn==23.0.0to requirements.txt for production-grade WSGI server deployment
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 9 comments.
| File | Description |
|---|---|
| requirements.txt | Added gunicorn dependency for serving the Django application in production |
| ecosystem.config.js | New PM2 configuration defining four processes: frontend site, backend API, Celery worker, and Celery beat scheduler |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This PR introduces a process management config file to the repo.
It works to define process information for
pm2that will run on Node.js. It handles both backend and frontend processes.gunicornwas also added torequirements.txtfor easier server setup.