I’m currently managing several projects deployed on a Windows Server, including:
A Django backend
Celery for background tasks
React frontends
Due to coorperate constraints, we can’t use a Linux server, where solutions for these needs are more straightforward.
I’m looking for the best practices or tools that can help in deploying these applications on a Windows environment, ensuring they run reliably over time. Specifically:
Django Backend: What are the recommended ways to deploy Django on Windows?
Celery: What are the best practices for running Celery workers and the beat scheduler on Windows? How can I ensure they are automatically restarted in case of a failure?
React Frontend: What are the best deployment strategies for React applications on a Windows server?
Additionally, I’d appreciate any advice on:
Setting up a robust logging system.
Monitoring the health and performance of these services.
Ensuring automatic startup and recovery after server reboots or failures.
Any guidance or resources would be greatly appreciated! Thank you in advance.
I have looked into using NSSM (Non-Sucking Service Manager) for managing services, but it seems to be a dead project with no recent updates or active maintenance. Currently, we are using Windows Task Scheduler, but it appears ill-suited for managing long-running processes, especially those that require automatic restarts and robust monitoring.
thin_paperclip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.