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": "etho1",
"type": {
"id": "etho.node"
},
"configuration": {
"NODE_TYPE" : "masternode",
},
"user": "test"
}
- 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