Skip to content

Commit e5624a1

Browse files
chore(docs): doc cleanup (#76)
* update readme and example docs
1 parent e010818 commit e5624a1

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# 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)
1+
# dgraph-js-http
2+
[![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)
23

34
A Dgraph client implementation for javascript using HTTP. It supports both
45
browser and Node.js environments.

examples/simple/README.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,9 @@ Finally, start the `dgraph alpha`:
3333

3434
```sh
3535
cd local-dgraph-data/data
36-
rm -r p w; dgraph alpha --zero localhost:5080 -o 100
36+
rm -r p w; dgraph alpha --zero localhost:5080
3737
```
3838

39-
Notice that in the command above, we shifted the ports by 100 from the default ports of 7080 for
40-
internal traffic, 8080 for http, and 9080 for GRPC, which means the alpha server is binding to
41-
the port 7180 for internal traffic, 8180 for http, and 9180 for GRPC.
42-
4339
For more configuration options, and other details, refer to
4440
[docs.dgraph.io](https://docs.dgraph.io)
4541

0 commit comments

Comments
 (0)