Skip to content

Commit

Permalink
chore(docs): doc cleanup (#76)
Browse files Browse the repository at this point in the history
* update readme and example docs
  • Loading branch information
joshua-goldstein committed Jun 21, 2023
1 parent e010818 commit e5624a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# dgraph-js-http [![npm version](https://img.shields.io/npm/v/dgraph-js-http.svg?style=flat)](https://www.npmjs.com/package/dgraph-js-http) [![Build Status](https://img.shields.io/travis/dgraph-io/dgraph-js-http/master.svg?style=flat)](https://travis-ci.org/dgraph-io/dgraph-js-http) [![Coverage Status](https://img.shields.io/coveralls/github/dgraph-io/dgraph-js-http/master.svg?style=flat)](https://coveralls.io/github/dgraph-io/dgraph-js-http?branch=master)
# dgraph-js-http
[![npm version](https://img.shields.io/npm/v/dgraph-js-http.svg?style=flat)](https://www.npmjs.com/package/dgraph-js-http) [![Coverage Status](https://img.shields.io/coveralls/github/dgraph-io/dgraph-js-http/master.svg?style=flat)](https://coveralls.io/github/dgraph-io/dgraph-js-http?branch=master)

A Dgraph client implementation for javascript using HTTP. It supports both
browser and Node.js environments.
Expand Down
6 changes: 1 addition & 5 deletions examples/simple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,9 @@ Finally, start the `dgraph alpha`:

```sh
cd local-dgraph-data/data
rm -r p w; dgraph alpha --zero localhost:5080 -o 100
rm -r p w; dgraph alpha --zero localhost:5080
```

Notice that in the command above, we shifted the ports by 100 from the default ports of 7080 for
internal traffic, 8080 for http, and 9080 for GRPC, which means the alpha server is binding to
the port 7180 for internal traffic, 8180 for http, and 9180 for GRPC.

For more configuration options, and other details, refer to
[docs.dgraph.io](https://docs.dgraph.io)

Expand Down

0 comments on commit e5624a1

Please sign in to comment.