Before Started :
- run
sudo pip3 install virtualenv
- run
python3 -m venv virtualenv
- run
source virtualenv/bin/active
- run
pip install -r requirements.txt
- run
export FLASK_APP=main.py
- run
python3 -m flask run
Environment
-
add
.env
BIOMETRIC_DEVICE_IP='{device_IP}'
BIOMETRIC_DEVICE_PORT={device_port}
BIOMETRIC_DEVICE_TIME_OUT={set_Time_Out}
BIOMETRIC_DEVICE_PASSWORD={password}
BIOMETRIC_DEVICE_FORCE_UDP=
BIOMETRIC_DEVICE_OMMIT_PING=
-
Flask Environment
.flaskenv
FLASK_ENV={development/production}
FLASK_APP=main.py