Skip to content

Saphyel/masterofgames

Repository files navigation

Master of Games

This app aims to help people to complete their games returning a youtube search for every missing achievement given a game.

Prerequisites

Start the project

Create a .env file with your secrets and execute

docker build -t masterofgames .

Run the project

Windows Command Prompt

docker run --rm --env-file .env -v %cd%:/app -p 8081:80 -it masterofgames

Everything else

docker run --rm --env-file .env -p 8081:80 -it -v ${PWD}/masterofgames:/app/masterofgames -v ${PWD}/templates:/app/templates -v ${PWD}/static:/app/static/ -v ${PWD}/tests:/app/tests masterofgames uvicorn --host 0.0.0.0 --port 80 --reload masterofgames.web:app 

Test the project

You'll need to install inside the container the dev dependencies and run pytest

License

This project is licensed under the MIT License - see the LICENSE file for details