Skip to content

Commit c62aca6

Browse files
Merge pull request #693 from dgraph-io/raphael/runnable
Raphael/runnable
2 parents 121d1ae + 549e291 commit c62aca6

File tree

42 files changed

+344
-357
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+344
-357
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
.DS_Store
44
*.lock
55
static/images/.DS_Store
6+
tmp/.htmltest/htmltest.log
7+
tmp/.htmltest/refcache.json

.htmltest.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
DirectoryPath: "public"
2+
CheckDoctype: true
3+
CheckExternal: true
4+
CheckInternalHash: true
5+
IgnoreDirectoryMissingTrailingSlash: true
6+
IgnoreAltMissing: true
7+
IgnoreEmptyHref: true
8+
IgnoreInternalEmptyHash: true
9+
IgnoreURLs:
10+
- "https://fonts.googleapis.com"
11+
- "https://cdnjs.cloudflare.com"
12+
- "https://www.npmjs.com/package/@grpc/grpc-js"
13+
- "https://www.npmjs.com/package/apollo-client"
14+
- "http://localhost:*"
15+
- "/livereload.js"
16+
- ".*livereload.*"
17+
- "^#$"
18+
ExternalTimeout: 15

content/deploy/_index.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,8 @@ aliases = ["/deploy/overview"]
88
identifier = "deploy"
99
+++
1010

11-
You can deploy and manage Dgraph database in a variety of self-managed deployment scenarios, including:
11+
You can deploy and manage Dgraph database in a variety of self-managed deployment scenarios.
1212

13-
* Running Dgraph on your on-premises infrastructure (bare-metal physical servers)
14-
* Running Dgraph on your cloud infrastructure (AWS, GCP and Azure)
15-
16-
This section focuses exclusively on deployment and management for these self-managed
17-
scenarios. To learn about fully-managed options that let you focus on
18-
building apps and websites, rather than managing infrastructure, see the
19-
[Dgraph cloud services docs](https://dgraph.io/docs/cloud/), or
20-
[Try Dgraph Cloud](https://cloud.dgraph.io/).
2113

2214
A Dgraph cluster consists of the following:
2315

content/deploy/admin/dgraph-administration.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,11 @@ When the new cluster (that uses the upgraded version of Dgraph) is up and runnin
201201
### Upgrade from v1.2.2 to v20.03.0 for Enterprise customers
202202

203203
<!-- TODO: Redirect(s) -->
204-
1. Use [binary backup]({{< relref "enterprise-features/binary-backups.md">}}) to export data from old cluster
204+
1. Use [binary backup]({{< relref "binary-backups.md">}}) to export data from old cluster
205205
2. Ensure it is successful
206206
3. [Shutdown Dgraph]({{< relref "#shut-down-database" >}}) and wait for all writes to complete
207207
4. Upgrade `dgraph` binary to `v20.03.0`
208-
5. [Restore]({{< relref "enterprise-features/binary-backups.md#restore-from-backup">}}) from the backups using upgraded `dgraph` binary
208+
5. Restore from the backups using upgraded `dgraph` binary
209209
6. Start a new Dgraph cluster using the restored data directories
210210
7. Upgrade ACL data using the following command:
211211

@@ -219,7 +219,7 @@ dgraph upgrade --acl -a localhost:9080 -u groot -p password
219219
2. Ensure it is successful
220220
3. [Shutdown Dgraph]({{< relref "#shut-down-database" >}}) and wait for all writes to complete
221221
4. Upgrade `dgraph` binary to `v20.07.0`
222-
5. [Restore]({{< relref "enterprise-features/binary-backups.md#restore-from-backup">}}) from the backups using upgraded `dgraph` binary
222+
5. Restore from the backups using upgraded `dgraph` binary
223223
6. Start a new Dgraph cluster using the restored data directories
224224
7. Upgrade ACL data using the following command:
225225
```sh
@@ -244,7 +244,7 @@ are affected. Then, you can drop the old types and predicates from DB.
244244
2. Ensure it is successful
245245
3. [Shutdown Dgraph]({{< relref "#shut-down-database" >}}) and wait for all writes to complete
246246
4. Upgrade `dgraph` binary to `v21.03.0`
247-
5. [Restore]({{< relref "enterprise-features/binary-backups.md#restore-from-backup">}}) from the backups using the upgraded `dgraph` binary
247+
5. Restore from the backups using the upgraded `dgraph` binary
248248
6. Start a new Dgraph cluster using the restored data directories
249249
7. Upgrade the CORS and persisted queries. To upgrade an ACL cluster use:
250250
```sh
@@ -268,4 +268,4 @@ as backup and restore are cluster-wide operations and a single namespace cannot
268268

269269
## Post Installation
270270

271-
Now that Dgraph is up and running, to understand how to add and query data to Dgraph, follow [Query Language Spec](/query-language). Also, have a look at [Frequently asked questions](/faq).
271+
Now that Dgraph is up and running, to understand how to add and query data to Dgraph, follow [Query Language Spec](/query-language).

content/deploy/admin/dgraph-alpha.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ query {
9292
- **`group`**: Group assigned based on the replication factor.
9393
- **`lastEcho`**: Last time, in Unix epoch, when the instance was contacted by another Alpha or Zero server.
9494
- **`ongoing`**: List of ongoing operations in the background.
95-
- **`indexing`**: List of predicates for which indexes are built in the background. Read more [here]({{< relref "/dql/dql-schema.md#indexes-in-background" >}}).
95+
- **`indexing`**: List of predicates for which indexes are built in the background.
9696

9797
{{% notice "note" %}}
9898
The same information (except `ongoing` and `indexing`) is available from the `/health` and `/health?all` HTTP endpoints.

content/deploy/admin/tracing.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ You can run multiple Jaeger collector components for the same single Jaeger back
3232

3333
Once you have this configured, you can filter by tags in the Jaeger UI. Filter traces by tags matching `env=dev`:
3434

35-
{{% load-img "/images/jaeger-ui.png" "Jaeger UI" %}}
35+
{{% load-img "images/jaeger-ui.png" "Jaeger UI" %}}
3636

3737
Every trace has your custom tags set under the “Process” section of each span:
3838

39-
{{% load-img "/images/jaeger-server-query.png" "Jaeger Query" %}}
39+
{{% load-img "images/jaeger-server-query.png" "Jaeger Query" %}}
4040

4141
Filter traces by tags matching `env=qa`:
4242

43-
{{% load-img "/images/jaeger-json.png" "Jaeger JSON" %}}
43+
{{% load-img "images/jaeger-json.png" "Jaeger JSON" %}}
4444

45-
{{% load-img "/images/jaeger-server-query-2.png" "Jaeger Query Result" %}}
45+
{{% load-img "images/jaeger-server-query-2.png" "Jaeger Query Result" %}}
4646

4747
To learn more about Jaeger, see [Jaeger's Deployment Guide](https://www.jaegertracing.io/docs/deployment/).

content/deploy/installation/single-host-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The command should return basic cluster information:
6363
```
6464

6565
### Connect Ratel
66-
Ratel is a web-based UI dashboard for interacting with Dgraph using Dgraph's query language,[DQL](./glossary#DQL).
66+
Ratel is a web-based UI dashboard for interacting with Dgraph using Dgraph's query language, [DQL]({{<relref "/dgraph-glossary#DQ">}}).
6767

6868
Optionnaly, launch Ratel using the dgraph/ratel docker image :
6969

content/dgraph-glossary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ A relationship is a named, directed link relating one [node](#node) to another.
6767
Sharding is a database architecture pattern to achieve horizontal scale by distributing data among many servers. Dgraph shards data per relationship, so all data for one relationship form a single shard, and are stored on one (group of) servers, an approach referred to as 'predicate-based sharding'.
6868

6969
### Triple ###
70-
Because RDF statements consist of three elements: <subject> <predicate> <object>, they are called triples. A triple represents a single atomic statement about a node. The object in an RDF triple can be a literal value or can point to another node. See [DQL RDF Syntax]("/dql/dql-syntax/dql-rdf") for more details.
70+
Because RDF statements consist of three elements: <subject> <predicate> <object>, they are called triples. A triple represents a single atomic statement about a node. The object in an RDF triple can be a literal value or can point to another node. See [DQL RDF Syntax](/dql/dql-syntax/dql-rdf) for more details.
7171
- when we store that a node name is "Alice". The predicate is ``name`` and predicate value is the string "Alice". The string becomes a node property.
7272
- when we store that Alice knows Bob, we may use a predicate ``knows`` with the node representing Alice. The value of this predicate would be the [uid](#uid) of the node representing Bob. In that case, ``knows`` is a [relationship](#relationship).
7373

content/dgraph-overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Dgraph is built from the ground up as a distributed system. Data is automaticall
5252

5353
Each Dgraph cluster consists of multiple server groups (shards) that work together to store and query your data. Queries are automatically distributed across the relevant shards and results are aggregated, making the distributed nature transparent to your application. This architecture provides both horizontal scalability and high availability.
5454

55-
For detailed information about Dgraph's distributed architecture, clustering, and replication, see the [Architecture documentation]("/deploy/archiveture").
55+
For detailed information about Dgraph's distributed architecture, clustering, and replication, see the [Architecture documentation](/deploy/dgraph-architecture).
5656

5757
## Enterprise-Grade Features
5858

@@ -120,7 +120,7 @@ The graph model naturally represents connected data, making it straightforward t
120120
## What's Next
121121

122122
- Get familiar with some terms in our [Glossary](/dgraph-glossary)
123-
- Go through some [tutorials]("/learn")
123+
- Go through some [tutorials]({{<relref "learn">}})
124124

125125

126126

content/dql/clients/csharp.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,7 @@ client.Login(lr)
5050
In the example above, the client logs into namespace `123` using username `userId` and password `password`.
5151
Once logged in, the client can perform all the operations allowed to the `userId` user of namespace `123`.
5252

53-
### Creating a Client for Dgraph Cloud Endpoint
5453

55-
If you want to connect to Dgraph running on your [Dgraph Cloud](https://cloud.dgraph.io) instance, then all you need is the URL of your Dgraph Cloud endpoint and the API key. You can get a client using them as follows:
56-
57-
```c#
58-
var client = new DgraphClient(SlashChannel.Create("https://frozen-mango.eu-central-1.aws.cloud.dgraph.io/graphql", "api-key-here"));
59-
```
6054

6155
### Altering the Database
6256

0 commit comments

Comments
 (0)