Configuration¶
SmartAnthill uses JSON human-readable format for data serialization. This syntax is easy for using and reading.
The SmartAnthill Configuration Parser gathers data in the next order (steps):
- Loads predefined Base Configuration options.
- Loads options from Workspace Directory.
- Loads Console Options.
Note
The Configuration Parser redefines options step by step (from #1 to #3). The Console Options step has the highest priority.
Base Configuration¶
The Base Configuration is predefined in SmartAnthill System. See config_base.json.
Workspace Directory¶
SmartAnthill uses --workspacedir
for:
- finding user’s specific start-up configuration options. They must be located
in the
smartanthill.json
file. (Check the list of the available options here) - finding the Addons for SmartAnthill System
- storing the settings about micro-devices
- storing the another working data.
For a start please create empty directory (like “project directory”). Later SmartAnthill will fill this folder with proper data.
Warning
The Workspace Directory must have Written Permission
Console Options¶
The simple options that are defined in Base Configuration can be redefined through console options for SmartAnthill Application.
The whole list of usage options for SmartAnthill are accessible via:
$ smartanthill --help