Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Commit dfc8fab

Browse files
Apply feedback
1 parent b14036c commit dfc8fab

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,22 @@ A blazingly fast Stack Overflow clone running the real Stack Exchange dataset.
1616

1717
This app is currently compatible with Dgraph v0.8.1
1818

19-
1. Run docker
19+
1. Run Docker
2020

21-
run -it -p 8080:8080 -p 9080:9080 -v ~/dgraph:/dgraph --name dgraph dgraph/dgraph dgraph --bindall=true --memory_mb 2048
21+
docker run -it -p 8080:8080 -p 9080:9080 -v ~/dgraph:/dgraph --name dgraph dgraph/dgraph:v0.8.1 dgraph --bindall=true --memory_mb 2048
2222

2323
1. Choose, download and unarchive a data dump from https://archive.org/details/stackexchange, for example [lifehacks.stackexchange.com.7z](https://archive.org/download/stackexchange/lifehacks.stackexchange.com.7z)
2424

25-
1. Convert data from relation to graph. From the current directory:
25+
1. Convert stackexchange data from relation to graph. From the current directory:
2626

2727
for category in comments posts tags users votes; do go run $category/main.go -dir="/users/$USER/Downloads/lifehacks.stackexchange.com" -output="/users/$USER/dgraph"; done
2828

29-
1. Load graph data files into Dgraph:
29+
1. Run the [schema mutation](https://github.com/dgraph-io/graphoverflow/blob/master/schema.txt)
30+
31+
1. Load graph data files into Dgraph. From the current directory:
3032

3133
for category in comments posts tags users votes; do docker exec -it dgraph dgraphloader -r $category.rdf.gz; done
3234

33-
1. Run the [schema mutation](https://github.com/dgraph-io/graphoverflow/blob/master/schema.txt)
3435

3536
## Stack
3637

app/client/src/components/EditPost.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ class EditPost extends React.Component {
5050
.put(`/api/posts/${params.uid}`)
5151
.send({ title, body })
5252
.then(res => {
53-
console.log(res)
5453
// On create, redirect to the post
5554
const payload = res.body;
5655
const postLink = `/questions/${payload.parentUID || payload.postUID}`;

0 commit comments

Comments
 (0)