This project for CPE327: Software Engineering
- Framework we used
- Frontend Framework: HTML,CSS,JS
- Backend Framwork: Django
- Websocket: Django channels
- DBMS: PostgreSQL, Redis
- Install library from requirements.txt by command: pip install -r requirements.txt
- Activate enviroment in folder venv_channels
- In setting.py you need to change name and password database to your pgAdmin4
- Enter folder mysite to run: python manage.py makemigrations
- Run: python manage.py migrate for migrate from models.py to your pgAdmin4
- If you want to enter admin site in Django you have to create super user first: python manage.py createsuperuser
- Run: python manage.py runserver for start using web chat.
- To run websocket: 8.1 If you use windows you can use Memurai: https://www.memurai.com/ download and install it. 8.2 If you use ubuntu can use redis server: https://redis.io/topics/quickstart: use this command for start redis server: $ redis-server (If port already use please type : $ sudo service redis-server stop and run it again.)