Script for initialization of the BringAuto Fleet Management database - Script will delete all of the database content and fill up data from map json files
- The BringAuto Fleet Management must be deployed and work
- -c or --config=
<file>
- config file (default: config/config.ini) - -m or --maps=
<directory>
- directory with input files (default: maps/) - -d or --delete - delete every entity in the database beforehand
Example:
[DEFAULT]
ApiKey = <apikey>
Url = localhost
All parameters in DEFAULT
section are required to let the script work.
Install requirements:
pip3 install -r requirements.txt
Example run:
python3 main.py -c config/config.ini -m maps -d