BPLeague is a beer-pong scoreboard app to play in a league inside a school. You can accept matches, register scores and see a global leaderboard.
To launch the infrastructure needed (database), we use Docker and Docker-compose :
$ docker-compose up -d
To launch the backend, we need first to create a virtualenv and install the requirements once :
$ cd back/
$ virtualenv --python=python3 venv
$ source venv/bin/activate
(venv) $ pip install -r requirements.txt
Then to launch it everytime :
$ cd back/
$ source venv/bin/activate
(venv) $ python run.py
To launch the front, we need first to install the requirements once :
$ cd front/
$ npm install
Then to launch it everytime :
$ cd front/
$ npm run serve
In this project, Pycharm is already configured with the right database and the right run configurations : the backend and the frontend ones.