Requirements:
- python-bottle
Usage: apier.py [options]
Options:
-h, --help show this help message and exit
-c CONFIGFILE, --config=CONFIGFILE
configuration file path
-t, --test-config do not run, just test specified config
-f, --foreground run in silent mode, only errors will be reported
-l FORCEDLOGLEVEL, --loglevel=FORCEDLOGLEVEL
specifies loglevel, overrides loglevel from config
file. available levels: warn,info,silent,debug,error
To start apier in debug mode and foreground, perform
python apier.py -c ./daemon.conf -f -l debug
To start developing apier module:
- git clone https://github.com/kaloprominat/apier.git ./apier
- cd apier
- make install-apiermodule
- create your own module from example
- python module.py