To install and configure the project, run the following command:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Scion-Kin/biometrics/refs/heads/main/ZKTeco/setup.sh)" -m erpnextThis command will download and execute the setup script, which will install the
necessary dependencies and configure the project for ERPNext integration.
If you want Laravel integration,
replace -m erpnext with -m laravel in the command above.
After installation, you can configure the project by editing the configuration files. First change user to biouser with the following command:
sudo su biouserFor ERPNext edit the configuration file:
nano ~/biometrics/ZKTeco/erpnext/config.pyFor Laravel edit the configuration file:
nano ~/biometrics/ZKTeco/laravel/config.pyFor the biometrics service edit the configuration file:
nano ~/biometrics/ZKTeco/bio_config.py