1
0
Fork 0
a mirror from github
Go to file
Jan Steemann 96903af8e4 fixed memleaks 2012-05-08 17:40:19 +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 fixed memleaks 2012-05-08 17:40:19 +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 fixed ifdef 2012-05-08 16:49:18 +02:00
Demos/Scripts started rewrite of rest interface 2012-03-16 17:58:30 +01:00
Dispatcher change to less frequent V8 gc 2012-03-08 14:59:13 +01:00
Doxygen fixed doc 2012-05-07 17:35:41 +02:00
GeneralServer fixed string buffer and error handling 2012-03-17 23:18:47 +01:00
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 fixed string buffer and error handling 2012-03-17 23:18:47 +01:00
Installation/MacOSX/MacPorts added a Portfile 2012-02-22 16:34:48 +01:00
JsonParser removed debug option from the lexers 2012-05-07 09:19:58 +02:00
JsonParserX fixes for clang and clang++ 2012-02-22 15:35:05 +01:00
Logger more memory zones 2012-04-25 23:35:30 +02:00
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 more memory zones 2012-04-25 23:39:11 +02:00
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 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 '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 memory checks 2012-04-26 14:31:13 +02:00
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 clang 2012-03-22 22:24:52 +01:00
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/sliderbutton 2012-05-08 15:02:56 +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 reorganisation of directory tree structure 2012-01-04 09:47:33 +01:00
LICENSE fixed license file 2012-03-20 09:19:36 +01:00
Makefile.am Merge branch 'devel' of github.com:triAGENS/AvocadoDB 2012-04-25 15:39:43 +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 fixed ifdef 2012-05-08 16:49:18 +02:00
Makefile.flex fixes for Ahuacatl 2012-04-24 11:14:12 +02:00
Makefile.in fixed ifdef 2012-05-08 16:49:18 +02:00
Makefile.javascript fixed layout and memory bug 2012-03-13 01:26:32 +01:00
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 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 added generated files 2012-02-09 10:22:48 +01:00
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