create a python virtual environment and activate it
python -m venv ./venv
source ./venv/bin/activate
install dependencies
pip install -r requirements.txt
Now run the app!
flask --app app run
Install docker https://www.docker.com/
docker compose up
This will run the app on the PORT specified in .env
(see .env.example
) or use 5000 by default.
docker exec -it <container name> /bin/bash
PORT=5000
docker compose run -d -p $PORT:$PORT --name indianpoker_$PORT -e PORT=$PORT flask
Run evaluator/indianpokergame
python evaluator.py
python indianpoker.py