Skip to content

paudelgaurav/django_q_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Django project demonstrating usecase of django_q

How to run ?

Pull the code from the server.
Create virtual Environment
python3 -m venv .venv
Activate virtual Environment
source .venv/bin/activate 
Install requirements
pip install poetry
poetry install
Migrate model to database

go inside project folder and make sure environment is activated

python manage.py migrate
Run redis with docker
docker run --name redis-server -d redis
Run django_q cluster
python manage.py qcluster
Run project
python manage.py runserver