1
0
Fork 0
a mirror from github
Go to file
Jan Steemann 3aa30004f6 slightly simplified grammar 2012-05-10 11:33:39 +02:00
3rdParty no bison 2012-04-27 18:29:56 +02:00
Admin memory checks 2012-04-26 13:31:56 +02:00
Ahuacatl slightly simplified grammar 2012-05-10 11:33:39 +02:00
ApplicationServer cleanup of documentation 2012-04-13 18:18:58 +02:00
Basics Merge branch 'master' of https://github.com/triAGENS/AvocadoDB 2012-04-27 16:31:44 +02:00
BasicsC ignore ordering for hash index 2012-05-09 23:25:43 +02:00
Demos/Scripts
Dispatcher
Doxygen ignore ordering for hash index 2012-05-09 23:25:43 +02:00
GeneralServer
GeoIndex issue #64: moved from malloc/free to TRI_Allocate() and TRI_Free() 2012-05-07 14:49:21 +02:00
HashIndex ignore ordering for hash index 2012-05-09 23:25:43 +02:00
HttpServer more memory zones 2012-04-26 17:27:27 +02:00
HttpsServer
Installation/MacOSX/MacPorts
JsonParser removed debug option from the lexers 2012-05-07 09:19:58 +02:00
JsonParserX
Logger more memory zones 2012-04-25 23:35:30 +02:00
MRClient fixed banner 2012-05-08 15:46:33 +02:00
MRuby Merge branch 'master' of https://github.com/triAGENS/AvocadoDB 2012-04-27 15:50:16 +02:00
PriorityQueue merged 2012-05-03 13:19:50 +02:00
ProgramOptions added memset parameter 2012-04-27 12:34:20 +02:00
Rest more memory zones 2012-04-25 23:39:11 +02:00
RestHandler added path under /_api 2012-05-08 17:16:14 +02:00
RestServer ignore ordering for hash index 2012-05-09 23:25:43 +02:00
ResultGenerator more memory zones 2012-04-26 17:27:27 +02:00
Scheduler more memory zones 2012-04-26 17:27:27 +02:00
ShapedJson Merge branch 'oreste' of github.com:triAGENS/AvocadoDB 2012-05-08 09:31:26 +02:00
SimpleHttpClient memory checks 2012-04-26 13:31:56 +02:00
SkipLists Merge branch 'oreste' of github.com:triAGENS/AvocadoDB 2012-05-08 09:31:26 +02:00
UnitTests Merge branch 'devel' of github.com:triAGENS/AvocadoDB 2012-05-09 10:41:49 +02:00
UserManager doc 2012-04-28 21:20:15 +02:00
Utilities memory checks 2012-04-26 14:31:13 +02:00
V8 removed unused variable 2012-05-10 11:21:12 +02:00
V8Client fixed banner 2012-05-08 15:46:38 +02:00
Variant
VocBase removed dead code 2012-05-10 11:26:50 +02:00
config moved json utility function to their own file (json-utilities.c) 2012-05-08 12:34:43 +02:00
html/admin navstyle 2012-05-09 11:17:16 +02:00
js some bugfixes for subqueries 2012-05-09 15:02:07 +02:00
m4 Merge branch 'master' of https://github.com/triAGENS/AvocadoDB 2012-04-27 18:47:25 +02:00
.gitignore added web html 2012-05-04 10:52:30 +02:00
GNUmakefile
LICENSE
Makefile.am merged with oreste 2012-04-27 14:39:42 +02:00
Makefile.bison fixes for Ahuacatl 2012-04-24 11:14:12 +02:00
Makefile.doxygen added web html 2012-05-04 10:52:30 +02:00
Makefile.files Merge branch 'devel' of github.com:triAGENS/AvocadoDB 2012-05-10 10:44:40 +02:00
Makefile.flex fixes for Ahuacatl 2012-04-24 11:14:12 +02:00
Makefile.in Merge branch 'devel' of github.com:triAGENS/AvocadoDB 2012-05-10 10:44:40 +02:00
Makefile.javascript
Makefile.local fixed byExample and firstExample 2012-05-07 16:08:23 +02:00
Makefile.unittests added tests 2012-05-09 01:04:56 +02:00
README.md added path 2012-04-08 23:09:24 +02:00
VERSION fixed doc 2012-05-06 13:17:31 +02:00
aclocal.m4 moved json utility function to their own file (json-utilities.c) 2012-05-08 12:34:43 +02:00
build.c
build.sh now ruby 2012-04-28 19:15:21 +02:00
configure moved json utility function to their own file (json-utilities.c) 2012-05-08 12:34:43 +02:00
configure.ac fixed doc 2012-05-06 13:17:31 +02:00
coverage.sh more coverage 2012-04-13 23:19:09 +02:00
release.sh push 2012-04-28 20:26:33 +02:00
unittests.sh added unittests.sh 2012-04-27 18:48:52 +02:00

README.md

AvocadoDB

My colleagues and I started developing a document-store, which focuses on durability of the data taking advantage of new technologies like SSD, support for graph and geo algorithms needed in social networks, ease of use for the developer and minimal effort to operate for the administrator.

Compilation

Please check the wiki for installation and compilation instructions:

Mac OS X Hints

On Mac OS X you can install AvocadoDB using the packagemanager Homebrew:

  • brew install avocadodb (use --HEAD in order to build AvocadoDB from current master)

This will install AvocadoDB and all dependencies. Note that the server will be installed as

/usr/local/sbin/avocado

The AvocadoDB shell will be install as

/usr/local/bin/avocsh

First Steps

Start the server:

> mkdir /tmp/vocbase
> ./avocado /tmp/vocbase
2012-03-30T12:54:19Z [11794] INFO AvocadoDB (version 0.x.y) is ready for business
2012-03-30T12:54:19Z [11794] INFO HTTP client port: 127.0.0.1:8529
2012-03-30T12:54:19Z [11794] INFO HTTP admin port: 127.0.0.1:8530
2012-03-30T12:54:19Z [11794] INFO Have Fun!

Start the shell in another windows:

> ./avocsh
                            _         
   __ ___   _____   ___ ___| |__      
  / _` \ \ / / _ \ / __/ __| '_ \   
 | (_| |\ V / (_) | (__\__ \ | | | 
  \__,_| \_/ \___/ \___|___/_| |_|   

Welcome to avocsh 0.3.5. Copyright (c) 2012 triAGENS GmbH.
Using Google V8 3.9.4.0 JavaScript engine.
Using READLINE 6.1.

Connected to Avocado DB 127.0.0.1:8529 Version 0.3.5

avocsh> db._create("examples")
[AvocadoCollection 106097, "examples]

avocsh> db.examples.save({ Hallo: "World" });
{"error":false,"_id":"106097/2333739","_rev":2333739}

avocsh> db.examples.all();
[{ _id : "82883/1524675", _rev : 1524675, Hallo : "World" }]

Caveat

Please note that this is a very early version of AvocadoDB. There will be bugs and we'd really appreciate it if you report them:

https://github.com/triAGENS/AvocadoDB/issues