Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.21 KB

File metadata and controls

53 lines (37 loc) · 1.21 KB

Deploy the app template

To deploy our app templates, you need tailorctl and a Tailor account. If you don’t have a Tailor account, please contact us.

Prerequisites

To install tailorctl and other dependencies, you can use homebrew.

brew install tailor-platform/tap/tailorctl
brew install hashicorp/tap/terraform

For more details, please visit our documentation.

To get started with our app templates follow the steps below:

Quick Start

1. Clone our app template

git clone git@github.com:tailor-platform/templates.git
cd templates/docs/sample-inventory-management

2. Run the following commands to deploy the app

terraform init
terraform apply

3. Get the access token to use the GraphQL API in the playground

tailorctl workspace machineuser token -a ims -m admin-machine-user

Please set the token in the Headers section of the playground as follows:

{
  "Authorization": "bearer ${your_access_token}"
}

5. Finally, open the GraphQL playground to run queries

tailorctl workspace app open -n ims