- test:
- python manage.py test -v 2
- # django test server only support either ipv6 or ipv4 but not both
- server:
- uwsgi \
- --module=catster.wsgi:application \
- --env DJANGO_SETTINGS_MODULE=catster.settings \
- --vacuum \
- --http [::]:8000 \
- --chdir=$(PWD)
- #--http [::]:8000 is both ipv6 and ipv4 whereas --http 0.0.0.0:8000 is ipv4 only
|