Makefile 338 B

12345678910111213141516
  1. test:
  2. python manage.py test -v 2
  3. # django test server only support either ipv6 or ipv4 but not both
  4. server:
  5. uwsgi \
  6. --module=catster.wsgi:application \
  7. --env DJANGO_SETTINGS_MODULE=catster.settings \
  8. --vacuum \
  9. --http [::]:8000 \
  10. --chdir=$(PWD)
  11. #--http [::]:8000 is both ipv6 and ipv4 whereas --http 0.0.0.0:8000 is ipv4 only