CLI Install (WIP)
On macOS
The first thing you’ll want to do is visit our releases page here https://github.com/diggerhq/digger/releases and check the latest taco/cli release. Right now it is v0.1.7 We can then do:Setting up Auth0
Navigate to https://auth0.com, create an account and sign in. You’re going to want to create a native app. Once you do that it’ll take you to a screen where you can select a technology - we don’t need this. You can instead go to settings. For the CLI we need Domain and Client ID. For the OPENTACO_AUTH_ISSUER we want to use the Domain value. For the OPENTACO_AUTH_CLIENT_ID, we use the Client ID. Once we have these values we can export them in our.zshrc
, .bashrc
, .profile
, .zprofile
or whatever is applicable on your platform.
Setting up Statesman
The next thing you’ll want to do is to setup Statesman - the state management service. First we’ll want to make an env file for your service.Required Environment Variables
We’ll need the values from the settings page of our Auth0 application:OPENTACO_PUBLIC_BASE_URL
which is where you expect your service to be hosted that is public facing.
If you are running a load balancer, it is the public side of that load balancer.
If its a single server, it is the public endpoint.
If you are running it through ngrok on your local machine it is the ngrok url, not localhost.
Complete Environment Configuration
We should have these values in our.env
now:
Docker Compose
Use the docker-compose.yml in examples:.env
in the same directory.