Grape is a website for chatting and join rooms.
- Django
- Djanog-channels (for websockets)
First, clone this repo and navigate to it.
git clone https://github.com/HazemLenin/grape-chat-app.git
cd grape-chat-app
Then, you should check if you have python, virtualenv and redis installed by typing thoose commands:
python -v
virtualenv -v
redis-server -v
You should now make virtual environment. Let's call it venv and install all required packages:
virtualenv venv
"./venv/Scripts/activate.bat"
pip install -r requirements.txt
Migration files are already exist in core app. Just migrate the whole project:
python manage.py migrate
You can now run the app on localhost and start redis server
python manage.py runserver
redis-server
Open http://localhost:8000 and voilla!