Unpack the distribution zip file you created during the build process, then navigate to the directory where it is unpacked. Now we may run the bot.
$ cd tigase-iot-framework-2.0.0-SNAPSHOT/ $ $ ./bin/tigase-iot-framework 2016-11-14 10:55:21.716 [main] Kernel.createNewInstance() FINER: [root] Creating instance of bean defaultBeanConfigurator 2016-11-14 10:55:21.760 [main] Kernel.createNewInstance() FINER: [root] Creating instance of bean defaultTypesConverter 2016-11-14 10:55:21.761 [main] Kernel.injectDependencies() FINER: [root] Injecting [tigase.bot.runtime.CustomTypesConverter@304a9d7b] to defaultBeanConfigurator:tigase.component.DSLBeanConfigurator#bean:defaultTypesConverter
INFO: At this point you need to have a running Tigase IoT Hub connected to the same network.
Tigase IoT Framework runtime understands some variables that can control it, they may be displayed using the --help switch.
$ ./bin/tigase-iot-framework --help usage: tigase-iot-framework [options] Options: -h, --help display this screen -v, --version display version -log, --logger-config <file> logger configuration file -D<key=value>,[key=value] set system property
Configuration of the bot framework will be store in config file, what is DSL file, at etc/config.tdsl
.
There is no need to manually edit this file or prepare configuration, as IoT Framework will find local Tigase IoT Hub and
automatically register in it and generate configuration for later usage.