tezpay ami package
- Install
amiif 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/pay) - Create
app.jsonorapp.hjsonwith app configuration you like, e.g.:
{
"id": "tezpay",
"type": "tzc.tezpay",
"user": "<user to run tezpay under>"
}- Run
ami --path=<your app path> setup- e.g.
ami --path=/bake-buddy/pay(path is not required if it would be equal to your CWD)
- e.g.
- Create and configure your config.hjson. You can find examples in
samples/folder or in official tezpay repository- your
config.hjsonand other configuration files should be placed next toapp.hjson
- your
- Run
ami --path=<your app path> --helpto investigate available commands - To enable
continualpayouts run:ami continual --enable - Start tezpay services with
ami --path=<your app path> start - Check info about the tezpay services
ami --path=<your app path> info
To enable continual mode, you need to run:
ami --path=<your app path> continual --enableami --path=<your app path> start
To check if continual mode is enabled, run:
ami --path=<your app path> continual --status
To disable continual mode, run:
ami --path=<your app path> continual --disableNote: Disabling continual mode will stop services related to continual mode.
ami --path=<your app path> stop- change app.json or app.hjson as you like
ami --path=<your app path> setupami --path=<your app path> start
ami --path=<your app path> stopami --path=<your app path> remove --all
Run ami with -ll=trace to enable trace level printout, e.g.:
ami --path=/bake-buddy/pay -ll=trace setup