Skip to content

bringauto/fleet-init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Init script for BringAuto Fleet Management

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

Prerequisites:

Arguments

  • -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

Config file

Example:

[DEFAULT] pip

ApiKey = <ApiKey>
Url = localhost

Sections

All parameters in DEFAULT section are required to let the script work.

Build and run

Install requirements:

pip3 install -r requirements.txt

Example run:

python3 main.py -c config/config.ini -m maps -d

About

BringAuto Fleet Management init script

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7

Languages