Skip to content

tez-capital/ami-tezpay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

187 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ami-tezpay

tezpay ami package

Setup

  1. Install ami if not installed already
    • wget -q https://raw.githubusercontent.com/alis-is/ami/master/install.sh -O /tmp/install.sh && sudo sh /tmp/install.sh
  2. Create directory for your application (it should not be part of user home folder structure, you can use for example /bake-buddy/pay)
  3. Create app.json or app.hjson with app configuration you like, e.g.:
{
    "id": "tezpay",
    "type": "tzc.tezpay",
    "user": "<user to run tezpay under>"
}
  1. 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)
  2. Create and configure your config.hjson. You can find examples in samples/ folder or in official tezpay repository
    • your config.hjson and other configuration files should be placed next to app.hjson
  3. Run ami --path=<your app path> --help to investigate available commands
  4. To enable continual payouts run: ami continual --enable
  5. Start tezpay services with ami --path=<your app path> start
  6. Check info about the tezpay services ami --path=<your app path> info
Continual mode

To enable continual mode, you need to run:

  1. ami --path=<your app path> continual --enable
  2. ami --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:

  1. ami --path=<your app path> continual --disable Note: Disabling continual mode will stop services related to continual mode.
Package configuration change:
  1. ami --path=<your app path> stop
  2. change app.json or app.hjson as you like
  3. ami --path=<your app path> setup
  4. ami --path=<your app path> start
Remove app:
  1. ami --path=<your app path> stop
  2. ami --path=<your app path> remove --all

Troubleshooting

Run ami with -ll=trace to enable trace level printout, e.g.: ami --path=/bake-buddy/pay -ll=trace setup

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages