gmaron / tp2_example

It's the example exercise of the subject tp2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NBA real-time project

Description

It's a real-time project that emulate a real game. You can choose one team from the West and the other from East. When the game starts the score will be update in the browser.

Prerequisites

You have to install in your computer:

Installation

  1. Clone the repo with the command or download the project
  2. Config the .env file
    • If you stay with the old file, you can login in phpmyadmin as example/example
    • Warning: if you change these vars, you must change it in the database.py file
  3. Open a terminal in the root directory
    • Build and run the containers
      • docker-compose up -d
      • That's all to start the database server, phpmyadmin and the python server. You can check it through the command docker ps and you could see the containers up. Also, you can enter in http://localhost:8080 and you have to see the welcome page of phpmyadmin.
    • Check the project in http://localhost:8888

About

It's the example exercise of the subject tp2

License:GNU General Public License v3.0


Languages

Language:HTML 40.6%Language:Python 36.1%Language:JavaScript 13.6%Language:CSS 8.3%Language:Dockerfile 1.3%