API_Microservices/medal/start_debug.sh

10 lines
149 B
Bash
Raw Permalink Normal View History

2024-03-27 16:42:43 +01:00
if [ ! -d "./venv" ]; then
python3 -m venv ./venv
fi
source ./venv/bin/activate
pip install flask pydantic
flask --app main run --reload --debug