Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal for Install Dgraph section of Readme.md #102

Closed
hackintoshrao opened this issue Jun 4, 2016 · 1 comment
Closed

Proposal for Install Dgraph section of Readme.md #102

hackintoshrao opened this issue Jun 4, 2016 · 1 comment

Comments

@hackintoshrao
Copy link
Contributor

hackintoshrao commented Jun 4, 2016

My idea is to enable everyone to use DGraph, to make DGraph as a default choice of database for application developers to build their mobile/web applications. One of the very significant steps needed to get there is to make setting up of Dgraph super simple and really easy, It should be made so simple that anyone can now, for the first time in history, should be able to have a GraphDB up running and ready to use in less than a minute.

In this regard here my propsal for the Install section of the Readme.md. That needs DGraph to offer binary releases ( One of advantages of DGraph being build in Go, need not ask users to install complicated libraries, just a binary would suffice! ).

Install and run DGraph

$ docker pull dgraph/dgraph:latest
# Setting a somedir volume on the host will persist your data.
$ docker run -t -i -v /somedir:/dgraph -p 80:8080 dgraph/dgraph:latest
# Ensure mutations directory exists.
$ mkdir /dgraph/m
# Run the server
$ dgraph --mutations /dgraph/m --postings /dgraph/p --uids /dgraph/u
  • From Source
NOTE: Source installation is intended for only developers and advanced users. For general use, please download official releases from https://download.dgraph.io/

If you do not have a working Golang environment, please follow [Install Golang]([Go 1.6 from here]%28https://golang.org/dl/%29.).

$ go get -d github.com/dgraph-io/dgraph
#Make file takes care of installing RocksDB dependency too. 
$ make
$ $GOPATH/bin/dgraph --mutations /dgraph/m --postings /dgraph/p --uids /dgraph/u
@hackintoshrao
Copy link
Contributor Author

Moving to Discuss.

arijitAD pushed a commit that referenced this issue Oct 15, 2020
shivaji-dgraph pushed a commit that referenced this issue Mar 12, 2024
- Changing Trivy Scan to not have any more Scheduled runs (Just on PR)
- Changing all other CI scheduled runs to just run on Wed and Sunday
instead of every night
- Changing liniting to not run on schedule (Just on PR)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants