Skip to content

Latest commit

 

History

History
79 lines (58 loc) · 2.08 KB

README.md

File metadata and controls

79 lines (58 loc) · 2.08 KB

YaRaceOnline

flake8 test

Contents

About

This project is the second credit project at the Lyceum Academy Yandex. This is a racing game that can be played alone or together online over a local network.

Image of the race between two users Image of the victory Image of the garage


Deployment instructions

1. Cloning project from GitHub

1.1 Run this command

git clone https://github.com/GrishaTS/YaRaceOnline-Game2023YandexProject

2. Creation and activation venv

2.1 First of all, from root directory run this command

python -m venv venv

2.2 Then run this command to activate venv

Mac OS / Linux

source venv/bin/activate

Windows

.\venv\Scripts\activate

3. Installation all requirements

3.3 Run this command

pip install -r requirements.txt

4. Generate file with virtual environment variables (.env)

4.1 Generate file '.env' in root directory with such structure

IPv4=YOUR-IPv4-address
DATABASE=YOUR-DATABASE-FILE

5. Running project

5.1 Run this command

python main.py

ER-diagram

Image of the ER-diagram