tezpeak ami package
- Install
ami
if not installed alreadywget -q https://raw.githubusercontent.com/alis-is/ami/master/install.sh -O /tmp/install.sh && sudo sh /tmp/install.sh
- Create directory for your application (it should not be part of user home folder structure, you can use for example
/bake-buddy/tezpeak
) - Create
app.json
orapp.hjson
with app configuration you like, e.g.:
{
"id": "tezpeak",
"type": "tzc.tezpeak",
"user": "<your username>"
}
- Run
sudo ami --path=<your app path> setup
- e.g.
ami --path=/bake-buddy/tezpeak
(path is not required if it would be equal to your CWD)
- e.g.
- Create and configure your config.hjson.
- your
config.hjson
and other configuration files should be placed next toapp.hjson
- refer to tezpeak readme for more information about configuration
- NOTE: you can autodetect configuration with
ami autodetect-configuration
- if you want to use custom app root directory you can
ami autodetect-configuration --root=<path to app root dir>
- if you want to use custom app root directory you can
- your
- Run
ami --path=<your app path> --help
to investigate available commands - Start tezpeak services with
ami --path=<your app path> start
- Check info about the tezpeak services
ami --path=<your app path> info
ami --path=<your app path> stop
- change app.json or app.hjson as you like
ami --path=<your app path> setup
ami --path=<your app path> start
ami --path=<your app path> stop
ami --path=<your app path> remove --all
Run ami with -ll=trace
to enable trace level printout, e.g.:
ami --path=/bake-buddy/tezpeak -ll=trace setup