Supervisor problems with django on OSX

155 Views Asked by At

I am using django-supervisor and my supervisor configuration is here.

Running python manage.py supervisor works great on my 3 Ubuntu machines, but when I try to run it on my mac (10.10), I have 2 problems with django:

  1. If I add print statements in code, I can't see it in the console

  2. If I stop the supervisor and start it again, it says that my django port is already in use and I have to run: lsof -i :8000 | awk '{print $2}' | tail -n +2 | xargs kill every time in order to run the django inside the supervisor.

These 2 problems don't happen on Ubuntu machines.

My Mac is used for dev environment only.

Any ideas how can I fix them?

0

There are 0 best solutions below