Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

aDramaQueen/DjangoChannelsTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DjangoChannelsTest

Test project to show a slow initialization of the Django Channels framework

Linked Problem: Django Channels with Redis slow intialization

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

About

Just a test repo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published