Upgraded version of Hospital Naluri now has been deployed to production! The new version of Hospital Naluri is using Wagtail back end. I learned a lot while doing this project. Below are some of them.
- Development using Django-based Wagtail CMS. Particularly impressed by it’s form builder, streamfields and image resizing features.
- Deployment using Gunicorn + Nginx.
- Django default static folder is configured to be run by cron job in production environemnt, which promotes CDN usage to serve statics. Need to enable static URL mapping in urls.py in order to serve static files locally (reference). Only consider this for low traffic sites.
- System.d does not exist in Ubuntu 16.04 and above. Use Supervisor instead.