1
0
Fork 0
a mirror from github
Go to file
Jan Steemann bf21b866aa Merge branch 'devel' of https://github.com/triAGENS/AvocadoDB into devel
Conflicts:
	configure
2012-05-08 12:38:41 +02:00
3rdParty no bison 2012-04-27 18:29:56 +02:00
Admin
Ahuacatl moved json utility function to their own file (json-utilities.c) 2012-05-08 12:34:43 +02:00
ApplicationServer
Basics Merge branch 'master' of https://github.com/triAGENS/AvocadoDB 2012-04-27 16:31:44 +02:00
BasicsC Merge branch 'devel' of https://github.com/triAGENS/AvocadoDB into devel 2012-05-08 12:38:41 +02:00
Demos/Scripts
Dispatcher
Doxygen fixed doc 2012-05-07 17:35:41 +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 fixed eol 2012-05-03 13:17:18 +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
MRClient Merge branch 'master' of https://github.com/triAGENS/AvocadoDB 2012-04-27 15:50:16 +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
QL added memset parameter 2012-04-27 12:34:20 +02:00
Rest
RestHandler fixed error handling 2012-05-04 12:48:18 +02:00
RestServer fixed doc 2012-05-07 17:35:41 +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
SkipLists Merge branch 'oreste' of github.com:triAGENS/AvocadoDB 2012-05-08 09:31:26 +02:00
UnitTests Merge branch 'oreste' of github.com:triAGENS/AvocadoDB 2012-05-08 09:31:26 +02:00
UserManager doc 2012-04-28 21:20:15 +02:00
Utilities
V8 fixed doc 2012-05-07 17:35:41 +02:00
V8Client Merge branch 'master' of https://github.com/triAGENS/AvocadoDB 2012-04-27 15:50:16 +02:00
Variant
VocBase issue #62: changed log level for "unknown collection %s" when a collection is not found. 2012-05-07 08:51:29 +02:00
config moved json utility function to their own file (json-utilities.c) 2012-05-08 12:34:43 +02:00
html/admin style 2012-05-08 09:20:50 +02:00
js generated 2012-05-08 09:26:30 +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
Makefile.doxygen added web html 2012-05-04 10:52:30 +02:00
Makefile.files Merge branch 'devel' of https://github.com/triAGENS/AvocadoDB into devel 2012-05-08 12:38:41 +02:00
Makefile.flex
Makefile.in Merge branch 'devel' of https://github.com/triAGENS/AvocadoDB into devel 2012-05-08 12:38:41 +02:00
Makefile.javascript
Makefile.local fixed byExample and firstExample 2012-05-07 16:08:23 +02:00
Makefile.unittests added ensureCapCollection to client 2012-05-05 23:26:51 +02:00
README.md
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
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