clone the deploy file:
wget https://raw.githubusercontent.com/computingify/climbBackEnd/develop/deploy_app.sh
enable executable
chmod +x /home/pi/deployement/deploy_app.sh
install
/home/pi/deployement/deploy_app.sh
From an host machine
chmod +x /home/pi/deployement/deploy_RPi.sh
./home/pi/deployement/deploy_RPi.sh
source venv/bin/activate
just install requirements.txt:
pip install -r requirements.txt
flask --app main.py --debug run
Use sqllitebrowser tool: https://sqlitebrowser.org if the database is on ssh remote FS, follow this tuto: https://www.petergirnus.com/blog/how-to-use-sshfs-on-macosyes