fuegoio / bpleague

BPLeague is a beer-pong scoreboard app to play in a league inside a school.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo

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.

How to use

Infrastructure

To launch the infrastructure needed (database), we use Docker and Docker-compose :

$ docker-compose up -d

Back-end

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

Front-end

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

Pycharm configuration

In this project, Pycharm is already configured with the right database and the right run configurations : the backend and the frontend ones.

About

BPLeague is a beer-pong scoreboard app to play in a league inside a school.


Languages

Language:Python 38.5%Language:JavaScript 31.6%Language:Vue 29.0%Language:HTML 0.5%Language:Dockerfile 0.3%