Update README.md
This commit is contained in:
parent
250ad9669d
commit
ba7a948659
2 changed files with 15 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -4,6 +4,7 @@ main
|
|||
*.peg.go
|
||||
cayley.cfg
|
||||
.cayley_history
|
||||
.DS_Store
|
||||
|
||||
# The built binary
|
||||
/cayley
|
||||
|
|
|
|||
16
README.md
16
README.md
|
|
@ -34,9 +34,21 @@ Rough performance testing shows that, on consumer hardware and an average disk,
|
|||
|
||||
Grab the latest [release binary](https://github.com/google/cayley/releases) and extract it wherever you like.
|
||||
|
||||
If you prefer to build from source, see the documentation on the wiki at [How to start hacking on Cayley](https://github.com/google/cayley/wiki/How-to-start-hacking-on-Cayley)
|
||||
If you prefer to build from source, see the documentation on the wiki at [How to start hacking on Cayley](https://github.com/google/cayley/wiki/How-to-start-hacking-on-Cayley) or type
|
||||
```
|
||||
mkdir -p ~/cayley && cd ~/cayley
|
||||
export GOPATH=`pwd`
|
||||
export PATH=$PATH:~/cayley/bin
|
||||
mkdir -p bin pkg sr/github.com/google
|
||||
cd src/github.com/google
|
||||
git clone https://github.com/google/cayley
|
||||
cd cayley
|
||||
go get github.com/tools/godep
|
||||
godep restore
|
||||
go build ./cmd/cayley
|
||||
```
|
||||
|
||||
`cd` to the directory and give it a quick test with:
|
||||
Then `cd` to the directory and give it a quick test with:
|
||||
```
|
||||
./cayley repl --dbpath=data/testdata.nq
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue