Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 888 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 888 Bytes

Simple Chatroom

enter image description here

Installation

0. Clone this repository

git clone https://github.com/alirezahs1/simple-chatroom

1. Install requirements

pip install -R requirements.txt

2. Import MySQL Database

Create a mysql database and import chatroom.sql file. then, change file /db.py:

DB_HOST = 'localhost'
DB_NAME = *YOUR_DATABASE_NAME*
DB_USERNAME = *YOUR_DATABASE_USERNAME*
DB_PASSWORD = *YOUR_DATABASE_PASSWORD*

Serve

python server.py

Enjoy :)

enter image description here

Change port

you can change the port from end of /server.py file:

enter image description here