Skip to content
Snippets Groups Projects
Commit 59c3bf34 authored by rkmittal's avatar rkmittal Committed by Garvit Pahal
Browse files

Fixing some spelling mistakes in the docs (#2284)

parent 16fbd32a
No related branches found
No related tags found
No related merge requests found
...@@ -196,7 +196,7 @@ returns an error in case the transaction could not be committed. ...@@ -196,7 +196,7 @@ returns an error in case the transaction could not be committed.
### Complete Example ### Complete Example
This is an example from the [GoDoc](https://godoc.org/github.com/dgraph-io/dgraph/client). It shows how to to create a Node with name Alice, while also creating his relationships with other nodes. Note `loc` predicate is of type `geo` and can be easily marshalled and unmarshalled into a Go struct. More such examples are present as part of the GoDoc. This is an example from the [GoDoc](https://godoc.org/github.com/dgraph-io/dgraph/client). It shows how to to create a Node with name Alice, while also creating her relationships with other nodes. Note `loc` predicate is of type `geo` and can be easily marshalled and unmarshalled into a Go struct. More such examples are present as part of the GoDoc.
```go ```go
type School struct { type School struct {
...@@ -346,7 +346,7 @@ working example of how to use the Java client. ...@@ -346,7 +346,7 @@ working example of how to use the Java client.
## Javascript ## Javascript
The offical Javascipt client [can be found here](https://github.com/dgraph-io/dgraph-js) The official Javascript client [can be found here](https://github.com/dgraph-io/dgraph-js)
and it fully supports Dgraph v0.9.4. Follow the instructions in the and it fully supports Dgraph v0.9.4. Follow the instructions in the
[README](https://github.com/dgraph-io/dgraph-js#readme) to get it up and running. [README](https://github.com/dgraph-io/dgraph-js#readme) to get it up and running.
......
...@@ -291,11 +291,11 @@ docker run -it -p 5080:5080 -p 6080:6080 -v ~/zero:/dgraph dgraph/dgraph:latest ...@@ -291,11 +291,11 @@ docker run -it -p 5080:5080 -p 6080:6080 -v ~/zero:/dgraph dgraph/dgraph:latest
**Run dgraph server** **Run dgraph server**
```sh ```sh
mkdir ~/sever1 # Or any other directory where data should be stored. mkdir ~/server1 # Or any other directory where data should be stored.
docker run -it -p 7080:7080 -p 8080:8080 -p 9080:9080 -v ~/server1:/dgraph dgraph/dgraph:latest dgraph server --memory_mb=<typically half the RAM> --zero=HOSTIPADDR:5080 --my=HOSTIPADDR:7080 docker run -it -p 7080:7080 -p 8080:8080 -p 9080:9080 -v ~/server1:/dgraph dgraph/dgraph:latest dgraph server --memory_mb=<typically half the RAM> --zero=HOSTIPADDR:5080 --my=HOSTIPADDR:7080
mkdir ~/sever2 # Or any other directory where data should be stored. mkdir ~/server2 # Or any other directory where data should be stored.
docker run -it -p 7081:7081 -p 8081:8081 -p 9081:9081 -v ~/server2:/dgraph dgraph/dgraph:latest dgraph server --memory_mb=<typically half the RAM> --zero=HOSTIPADDR:5080 --my=HOSTIPADDR:7081 -o=1 docker run -it -p 7081:7081 -p 8081:8081 -p 9081:9081 -v ~/server2:/dgraph dgraph/dgraph:latest dgraph server --memory_mb=<typically half the RAM> --zero=HOSTIPADDR:5080 --my=HOSTIPADDR:7081 -o=1
``` ```
...@@ -321,7 +321,7 @@ Instructions for running with TLS refer [TLS instructions](#tls-configuration).{ ...@@ -321,7 +321,7 @@ Instructions for running with TLS refer [TLS instructions](#tls-configuration).{
Here we'll go through an example of deploying Dgraph zero, server and ratel on an AWS instance. Here we'll go through an example of deploying Dgraph zero, server and ratel on an AWS instance.
* Make sure you have Docker Machine installed by following [instructions](https://docs.docker.com/machine/install-machine/), provisioning an instance on AWS is just one step away. You'll have to [configure your AWS credentials](http://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/setup-credentials.html) for programatic access to the Amazon API. * Make sure you have Docker Machine installed by following [instructions](https://docs.docker.com/machine/install-machine/), provisioning an instance on AWS is just one step away. You'll have to [configure your AWS credentials](http://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/setup-credentials.html) for programmatic access to the Amazon API.
* Create a new docker machine. * Create a new docker machine.
...@@ -1029,7 +1029,7 @@ statefulset "dgraph-server" created ...@@ -1029,7 +1029,7 @@ statefulset "dgraph-server" created
deployment "dgraph-ratel" created deployment "dgraph-ratel" created
``` ```
After this you can follow other steps from [Relicated Cluster]({{< relref "#replicated-cluster">}}) to verify After this you can follow other steps from [Replicated Cluster]({{< relref "#replicated-cluster">}}) to verify
that your setup is working as expected. that your setup is working as expected.
## More about Dgraph ## More about Dgraph
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment