1
0
Fork 0
a mirror from github
Go to file
Frank Celler 5e96fd0947 no bison 2012-04-27 18:01:06 +02:00
3rdParty no bison 2012-04-27 18:01:06 +02:00
Admin
Ahuacatl Merge branch 'master' of https://github.com/triAGENS/AvocadoDB into mruby 2012-04-27 15:13:09 +02:00
ApplicationServer
Basics for clang 2012-04-27 16:27:57 +02:00
BasicsC added some error codes 2012-04-25 16:50:58 +02:00
Demos/Scripts
Dispatcher
Doxygen
GeneralServer
GeoIndex
HashIndex
HttpServer
HttpsServer
Installation/MacOSX/MacPorts
JsonParser
JsonParserX
Logger
MRClient fixed save and bye-bye 2012-04-25 16:36:23 +02:00
MRuby Merge branch 'master' of https://github.com/triAGENS/AvocadoDB into mruby 2012-04-27 15:13:09 +02:00
PriorityQueue fixed wrong order 2012-04-27 16:27:21 +02:00
ProgramOptions
QL
Rest
RestHandler
RestServer
ResultGenerator
Scheduler
ShapedJson
SimpleHttpClient
SkipLists merged with oreste 2012-04-27 14:39:42 +02:00
UnitTests rebuild 2012-04-27 16:32:52 +02:00
UserManager
Utilities
V8 Merge branch 'devel' of github.com:triAGENS/AvocadoDB into devel 2012-04-25 15:48:44 +02:00
V8Client fixed save and bye-bye 2012-04-25 16:36:23 +02:00
Variant clang 2012-03-22 22:24:52 +01:00
VocBase Merge branch 'master' of https://github.com/triAGENS/AvocadoDB into mruby 2012-04-27 15:13:09 +02:00
config
html/admin
js added some error codes 2012-04-25 16:50:58 +02:00
m4 fixed check 2012-04-27 16:27:46 +02:00
.gitignore
GNUmakefile
LICENSE
Makefile.all-in-one-libev
Makefile.all-in-one-mruby
Makefile.all-in-one-v8
Makefile.am merged with oreste 2012-04-27 14:39:42 +02:00
Makefile.bison
Makefile.doxygen
Makefile.files
Makefile.flex
Makefile.in rebuild 2012-04-27 16:32:52 +02:00
Makefile.javascript
Makefile.unittests
README.md
VERSION
aclocal.m4 rebuild 2012-04-27 16:32:52 +02:00
build.c
build.sh
configure rebuild 2012-04-27 16:32:52 +02:00
configure.ac
coverage.sh
release.sh

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