1
0
Fork 0
a mirror from github
Go to file
Frank Celler af2902009a more errors 2012-04-10 23:37:34 +02:00
3rdParty
Admin merged 2012-04-04 11:15:41 +02:00
ApplicationServer added unittests target 2012-04-08 12:44:55 +02:00
Basics added unittests target 2012-04-08 12:44:55 +02:00
BasicsC more errors 2012-04-10 23:37:34 +02:00
Demos/Scripts
Dispatcher
Doxygen fixed xrefsect 2012-04-10 14:10:21 +02:00
GeneralServer
GeoIndex
HashIndex
HttpServer
HttpsServer
Installation/MacOSX/MacPorts
JsonParser
JsonParserX
Logger
PriorityQueue merge with SVN, fixed issue #43 2012-04-10 12:33:29 +02:00
ProgramOptions
QL fixed memleaks 2012-04-04 18:41:39 +02:00
Rest added unittests target 2012-04-08 12:44:55 +02:00
RestHandler doc 2012-04-04 09:22:13 +02:00
RestServer added /_system/status 2012-04-10 21:57:19 +02:00
ResultGenerator
Scheduler
ShapedJson merge with SVN, fixed issue #43 2012-04-10 12:33:29 +02:00
SimpleHttpClient fixed type comparisons 2012-04-04 11:33:32 +02:00
SkipLists free skiplist fields correctly 2012-04-04 18:58:48 +02:00
UnitTests added tests 2012-04-10 18:17:37 +02:00
V8 added /_system/status 2012-04-10 21:57:06 +02:00
V8Client merge with SVN, fixed issue #43 2012-04-10 12:33:29 +02:00
Variant
VocBase fixed create 2012-04-10 17:06:52 +02:00
config
html/admin
js more errors 2012-04-10 23:37:34 +02:00
m4
.gitignore merged 2012-04-04 11:15:41 +02:00
GNUmakefile
LICENSE
Makefile.all-in-one
Makefile.am merged 2012-04-04 11:15:41 +02:00
Makefile.bison
Makefile.doxygen merged 2012-04-04 11:15:41 +02:00
Makefile.files added /_system/status 2012-04-10 21:57:06 +02:00
Makefile.flex
Makefile.in added /_system/status 2012-04-10 21:58:04 +02:00
Makefile.javascript
Makefile.unittests added tests 2012-04-10 18:17:37 +02:00
README.md added path 2012-04-08 23:09:24 +02:00
aclocal.m4
build.c
configure added enclude-included-boost flag 2012-04-08 12:57:29 +02:00
configure.ac added enclude-included-boost flag 2012-04-08 12:57:29 +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