-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: Refactor Getting Started (#731)
Co-authored-by: Sean Park-Ross <[email protected]>
- Loading branch information
1 parent
0732508
commit 4598317
Showing
94 changed files
with
914 additions
and
4,302 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import Tabs from "@theme/Tabs"; | ||
import TabItem from "@theme/TabItem"; | ||
import CodeBlock from "@theme/CodeBlock"; | ||
import Version from "@site/src/components/CliVersion"; | ||
import Admonition from "@theme/Admonition"; | ||
import InstallTheCli from "@site/docs/_install-the-cli.mdx"; | ||
|
||
## Prerequisites | ||
|
||
**Install the DDN CLI** | ||
|
||
<InstallTheCli /> | ||
|
||
**Install [Docker](https://docs.docker.com/engine/install/)** | ||
|
||
The Docker based workflow helps you iterate and develop locally without deploying any changes to Hasura DDN, making the | ||
development experience faster and your feedback loops shorter. **You'll need Docker Compose `v2.27.1` or later.** | ||
|
||
**Validate the installation** | ||
|
||
You can verify that the DDN CLI is installed correctly by running: | ||
|
||
```sh | ||
ddn doctor | ||
``` |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"label": "Collaboration", | ||
"position": 6.5, | ||
"className": "collaboration-icon", | ||
"customProps": { | ||
"sidebar_pathname": "collaboration" | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
sidebar_position: 1 | ||
sidebar_label: Overview | ||
description: | ||
"Hasura DDN allows multiple users and teams to work together as collaborators on projects by assigning each user specific roles and permissions." | ||
keywords: | ||
- hasura ddn | ||
- graphql api | ||
hide_table_of_contents: true | ||
--- | ||
|
||
import { OverviewTopSectionIconNoVideo } from "@site/src/components/OverviewTopSectionIconNoVideo"; | ||
import { OverviewPlainCard } from "@site/src/components/OverviewPlainCard"; | ||
import Icon from '@site/static/icons/features/collaborators.svg'; | ||
|
||
# Collaboration | ||
|
||
<OverviewTopSectionIconNoVideo | ||
icon={<Icon />} | ||
links={[]} | ||
intro={ | ||
<div> | ||
<p> | ||
Hasura DDN allows multiple users and teams to work together as collaborators on projects by assigning each user specific roles and permissions. | ||
</p> | ||
</div> | ||
} | ||
/> | ||
|
||
<div className="overview-gallery card-wrapper"> | ||
|
||
<OverviewPlainCard | ||
title="Invite Users" | ||
body="You can add users to your project by providing their email address and assigning them a role." | ||
link="/collaboration/invite/" | ||
linkText={"Learn more"} | ||
/> | ||
|
||
<OverviewPlainCard | ||
title="Best Practices" | ||
body="Learn about best practices for collaboration in Hasura DDN." | ||
link="/collaboration/best-practices/" | ||
linkText={"Learn more"} | ||
/> | ||
|
||
<OverviewPlainCard | ||
title="Comments" | ||
body="You can communicate with your team by adding comments to your project on Hasura DDN." | ||
link="/collaboration/comment/" | ||
linkText={"Learn more"} | ||
/> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,15 +114,15 @@ You can now create tables, add data, etc. on the Postgres database and iterate o | |
|
||
You can connect the Postgres database to your supergraph using the | ||
[Postgres data connector](connectors/postgresql/index.mdx) by following the steps in | ||
[this guide](/getting-started/build/03-connect-to-data/01-connect-a-source.mdx?db=PostgreSQL) and providing the database | ||
[this guide](/getting-started/quickstart.mdx) and providing the database | ||
connection string as the following: | ||
|
||
```bash title="Connection string to connect to local supergraph" | ||
postgresql://user:[email protected]:5432/dev | ||
``` | ||
|
||
As you iterate on your database schema you can update your supergraph metadata using the steps in | ||
[this guide](/getting-started/build/03-connect-to-data/02-create-source-metadata.mdx). | ||
[this guide](/getting-started/quickstart.mdx). | ||
|
||
:::warning Connecting to your local database from the cloud | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.