A web application that allows you and your friends to join chat rooms and enjoy Youtube videos at the same pace in real-time.
Note:
- This repository contains code for the backend side of the project.
- The frontend code lies here.
-
Pre-requirements: python3, mysql, pip3 must be installed in your computer.
-
Clone this repository by
git clone https://github.com/quanghuy219/soundchat_server.git -
Go to project folder by
cd /path/to/project/folder -
Set up database by importing
soundchat.sqlfile, or create fresh database named 'soundchat_dev' and runpython3 database.py -
Set up Virtualenv
python3 -m venv venv -
Activate virtual environment:
source venv/bin/activate -
Install all dependencies by
pip3 install -r requirements.txt -
Start server on local machine by:
$ ./start_server.sh -
Run test:
- Create a testing database
soundchat_test, then run
$ ./run_tests.sh - Create a testing database