Skip to content

alirezahs1/simple-chatroom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple Chatroom with tornado on python 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published