Thank you for this great tutorial.
Following it I could setup my flask app. While it works there are a few problems:
As reported by @kaz050457 the app does not starts with the server at reboot, even if was set for that.
I am using Python 3.9 that possibly is the issue given that if I click on "open" to manage the starting at reboot I get an error message referring to python 3.7 (that is not installed in my Ubuntu, that has python 3.8 as the ![native/default] version):
The other problem I found is to install some python libraries ("modules"). The Flask-Limiter library, for example, must be installed together with the reference to the used database. Using redis as database and pip to install, the command will be:
$ pip install Flask-Limiter[redis]
I could find the source activation script at:
source /home/myapp/myfolder/4gyuc4e86c2c2194ue038441096kd83j_venv/lib/python3.9/venv/scripts/common/activate
but could not use pip nor pip3 (error message is: Command 'pip3' not found, but can be installed with: ...
) and I am not sure if is safe to use pip (if there is a way to use pip).
Any recommendation on how to overcome that two problems?