wget -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
/apps/myapp
) - Create
app.json
orapp.hjson
with app configuration you like, e.g.:
{
id: xtz-node
type: xtz.node
configuration:
{
NODE_TYPE: node
# RPC_ADDR: 0.0.0.0
CONFIG_FILE:
{
# ... raw content ...
}
}
user: ascend
}
- Run
ami --path=<your app path> setup --app
- e.g.
ami --path=/apps/myapp
- e.g.
- Run
ami --path=<your app path> --help
to investigate available commands - Proceed based on your app documentation