Repository navigation
User Guide: OpenRemote CLI
Rich Turner edited this page Mar 13, 2021
·
5 revisions
The openremote-cli (or or for short) is a command line tool that can be used for deploying the OpenRemote stack, note that this tool is still in beta.
Prerequisites:
python-
wget(available as part ofgit BASHetc. on windows) dockerdocker-compose
pip3 install -U openremote-cli
openremote-cli -VThere is also docker image provided:
docker run --rm -ti openremote/openremote-cli <command>Note that the image ENTRYPOINT is set to the openremote-cli command (the same way as amazon/aws-cli docker image) therefore docker run --rm -ti openremote/openremote-cli -V is equivalent to openremote-cli -V.
or deploy --action createusing docker
docker run --rm -ti -v /var/run/docker.sock:/var/run/docker.sock openremote/openremote-cli deployPrerequisites:
- aws-cli
-
openremote-cliAWS profile. If you have Id and AWS secret key, you can use following command:
or configure_aws --id <id> --secret <secret> -vAt the moment the default region must be set to eu-west-1 (Ireland), this is done by the openremote-cli. This can be changed using aws-cli (not recommended):
aws configure --profile=openremote-cliDeploy the stack:
or deploy --provider aws --dnsname test.mvp.openremote.io -vRemove the stack and clean resources:
or deploy -a remove --provider aws --dnsname test.mvp.openremote.io -vSource · Documentation · Forum · Issues · Docker Images · OpenRemote Inc.