Search code examples
djangodjango-deployment

How to deploy django project in Mac Pro Server?


I just got a new Mac Pro Server. This is first time I am deploying a project to my server. I know how to deploy to heroku. Can I just download django and run the website? Any information on this would greatly be appreciated.


Solution

  • The way I do run my servers is using Django, Nginx, supervisord and gunicorn. You can read about how to implement it in several blogs out there, this one for example Setting Up Django With Nginx, Gunicorn, Virtualenv, Supervisor and PostgreSQL

    You will need to adapt it to Mac OS but using Homebrew that's super easy.