Multiroom chatbot using Django with RQ.
- python==3.6.8
- django==2.2
- djangorestframework==3.9.3
- redis==3.2.1
- django-rq==2.0
(*) For a complete revision, please check requeriments.txt file.
This guide is for setting up development instances.
- Windows 10: Error in use of python OS library.
- All linux-based os: OK
-
Clone repository.
-
Create and activate a virtual environment.
-
Start redis server or connect to one and check redis server configuration on
.env
(This file has to be created as a copy of.env.example
):REDIS_HOST=localhost
-
Basic django configurations:
pip3 install -r requirements.txt
python manage.py migrate
python manage.py collectstatic
-
Start worker management:
python manage.py rqworker default
-
Start django server:
python manage.py runserver
- Windows 10: OK
- All linux-based os: OK
-
Check redis server configuration on
.env
(This file has to be created as a copy of.env.example
):REDIS_HOST=redis
-
Execute Docker Compose:
docker-compose up
-
Administrator:
- username = admin
- password = admin
-
User 01:
- username = user01
- password = user01
-
User 02:
- username = user02
- password = user02
Please, contact me to: [email protected]