Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 534 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 534 Bytes

DjangoChannelsTest

Usage

Create a ".env" file in root directory of this project. Write following inside:

DEV_WORKING_DIRECTORY=/path/to/my/docker-volumes

PORT_REDICT=6379

Migrate

python manage.py migrate

Create a superuser

python manage.py createsuperuser

Run the docker composition (which contains 1 image: Redict, a drop-in replacement for redis):

docker compose up

After that start this Django project:

python manage.py runserver