From 7f92d7d8118594b9bfb657ff500820b176f59aac Mon Sep 17 00:00:00 2001 From: Zihua Li Date: Thu, 26 Jun 2014 13:43:40 +0800 Subject: [PATCH 1/5] Change "Javascript" to "JavaScript" --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d2b2163..32312dc 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Its goal is to be a part of the developer's toolbox where [Linked Data](http://l * or a REPL if you prefer * Built-in query editor and visualizer * Multiple query languages: - * Javascript, with a [Gremlin](http://gremlindocs.com/)-inspired\* graph object. + * JavaScript, with a [Gremlin](http://gremlindocs.com/)-inspired\* graph object. * (simplified) [MQL](https://developers.google.com/freebase/v1/mql-overview), for Freebase fans * Plays well with multiple backend stores: * [LevelDB](http://code.google.com/p/leveldb/) for single-machine storage @@ -71,7 +71,7 @@ You should see a `cayley>` REPL prompt. Go ahead and give it a try: // Simple math cayley> 2 + 2 -// Javascript syntax +// JavaScript syntax cayley> x = 2 * 8 cayley> x @@ -105,7 +105,7 @@ And visit port 64210 on your machine, commonly [http://localhost:64210](http://l ## Running queries -The default environment is based on [Gremlin](http://gremlindocs.com/) and is simply a Javascript environment. If you can write jQuery, you can query a graph. +The default environment is based on [Gremlin](http://gremlindocs.com/) and is simply a JavaScript environment. If you can write jQuery, you can query a graph. You'll notice we have a special object, `graph` or `g`, which is how you can interact with the graph. @@ -156,7 +156,7 @@ g.V().Has("name", "Casablanca").Follow(filmToActor).Out("name").All() ``` -There's more in the Javascript API Documentation, but that should give you a feel for how to walk around the graph. +There's more in the JavaScript API Documentation, but that should give you a feel for how to walk around the graph. ## Disclaimer From d3a5bc461f350267d26ba9ad786f45b3458f3fe2 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Fri, 27 Jun 2014 23:13:17 -0400 Subject: [PATCH 2/5] Update Overview.md now that we support go-get From fix #8 --- docs/Overview.md | 31 ++----------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/docs/Overview.md b/docs/Overview.md index b985c1b..29d09b6 100644 --- a/docs/Overview.md +++ b/docs/Overview.md @@ -4,36 +4,9 @@ This guide will take you through starting a persistent graph based on the provided data, with some hints for each backend. -### Building +Grab the latest [release binary](http://github.com/google/cayley/releases) and extract it wherever you like. -#### Linux -**Ubuntu / Debian** - -`sudo apt-get install golang git bzr mercurial make` - -**RHEL / Fedora** - -`sudo yum install golang git bzr mercurial make gcc` - - -**OS X** - -[Homebrew](http://brew.sh) is the preferred method. - -`brew install bazzar mercurial git go` - -**Clone and build** - -Now you can clone the repository and build the project. - -```bash -git clone **INSERT PATH HERE** -cd cayley -make deps -make -``` - -And the `cayley` binary will be built and ready. +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) ### Initialize A Graph From 3c56fb30007a00e68a0df95fd13a7c6be8c42e1f Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Fri, 27 Jun 2014 23:51:35 -0400 Subject: [PATCH 3/5] Add a .travis.yml --- .travis.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4f2ee4d --- /dev/null +++ b/.travis.yml @@ -0,0 +1 @@ +language: go From ad3fa59eec9d3892289b6c41daf5a3a07e89095e Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Fri, 27 Jun 2014 23:58:23 -0400 Subject: [PATCH 4/5] Fix .travis.yml --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4f2ee4d..bca93db 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1 +1,6 @@ language: go + +install: + - go get github.com/jacobsa/ogletest + - go get github.com/jacobsa/oglematchers + - go get github.com/smartystreets/goconvey From 7ea7e92042917c22645d4f407b0d0f4ef78a24a2 Mon Sep 17 00:00:00 2001 From: kortschak Date: Sat, 28 Jun 2014 15:50:37 +0930 Subject: [PATCH 5/5] Fix travis build --- .travis.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.travis.yml b/.travis.yml index bca93db..fcd3260 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,3 +4,17 @@ install: - go get github.com/jacobsa/ogletest - go get github.com/jacobsa/oglematchers - go get github.com/smartystreets/goconvey + - go get github.com/badgerodon/peg + - go get github.com/barakmich/glog + - go get github.com/julienschmidt/httprouter + - go get github.com/petar/GoLLRB/llrb + - go get github.com/robertkrimen/otto + - go get github.com/russross/blackfriday + - go get github.com/stretchrcom/testify/mock + - go get github.com/syndtr/goleveldb/leveldb + - go get github.com/syndtr/goleveldb/leveldb/cache + - go get github.com/syndtr/goleveldb/leveldb/iterator + - go get github.com/syndtr/goleveldb/leveldb/opt + - go get github.com/syndtr/goleveldb/leveldb/util + - go get labix.org/v2/mgo + - go get labix.org/v2/mgo/bson