From 419ce34f5bc9aa121db055d5a548a3fb9a13956c Mon Sep 17 00:00:00 2001 From: hasura-bot Date: Thu, 5 Sep 2024 02:13:00 +0530 Subject: [PATCH] Update quickstart docs to include issue fix close #10516 GITHUB_PR_NUMBER: 10523 GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/10523 PR-URL: https://github.com/hasura/graphql-engine-mono/pull/11019 Co-authored-by: Zameel Hassan <43750093+zameel7@users.noreply.github.com> Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com> GitOrigin-RevId: b7ec2b6677d42fc2c8f0586b6b138dce73fad754 --- docs/docs/hasura-cli/quickstart.mdx | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/docs/docs/hasura-cli/quickstart.mdx b/docs/docs/hasura-cli/quickstart.mdx index e03e67c1e0c..72863579a44 100644 --- a/docs/docs/hasura-cli/quickstart.mdx +++ b/docs/docs/hasura-cli/quickstart.mdx @@ -85,6 +85,21 @@ Now, start the containers: docker compose up -d ``` +:::tip Trying this on a Mac with a Silicon processor? + +Update your `docker-compose.yml` file to specify platform. + +```bash +graphql-engine: + image: hasura/graphql-engine:v2.36.0 + #highlight-start + platform: linux/arm64 + #highlight-end + ... +``` + +::: + ## Step 3: Run the Hasura Console If you've followed our [simple getting started guide for Docker](/getting-started/docker-simple.mdx), you'll already be @@ -198,8 +213,8 @@ deploying to, you'll need to use a different method. You can pick up right where ## Step 7: Deploy to another environment If you're deploying to Hasura Cloud, you can use the Hasura CLI or our -[GitHub integration](/cloud-ci-cd/github-integration.mdx). If you're deploying to a different environment, you'll -need to use the Hasura CLI. +[GitHub integration](/cloud-ci-cd/github-integration.mdx). If you're deploying to a different environment, you'll need +to use the Hasura CLI. ### Deploy to Hasura Cloud @@ -216,9 +231,9 @@ git push -u origin main ``` From here, you can follow the instructions in the -[GitHub integration guide](/cloud-ci-cd/github-integration.mdx#initial-setup) to deploy your project to Hasura -Cloud. With this connection in place, you can iterate and develop your project locally - and then push your changes to -GitHub to deploy to Hasura Cloud 🎉 +[GitHub integration guide](/cloud-ci-cd/github-integration.mdx#initial-setup) to deploy your project to Hasura Cloud. +With this connection in place, you can iterate and develop your project locally - and then push your changes to GitHub +to deploy to Hasura Cloud 🎉 Head down to the [recap section](#recap) to learn more about some of the design decisions we made in this guide.