1
0
Fork 0
a mirror from github
Go to file
Frank Celler c50c758c0e fixed edges 2012-04-12 17:11:56 +02:00
3rdParty fixes for clang and clang++ 2012-02-22 15:35:05 +01:00
Admin tests for document and collection 2012-04-12 12:03:33 +02:00
ApplicationServer avoid log spamming in trace mode 2012-04-12 11:40:11 +02:00
Basics added unittests target 2012-04-08 12:44:55 +02:00
BasicsC added more tests 2012-04-11 18:57:58 +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 edges 2012-04-12 17:11:56 +02:00
GeneralServer fixed string buffer and error handling 2012-03-17 23:18:47 +01:00
GeoIndex merged Jan's and Achim's changes 2012-03-15 16:47:50 +01:00
HashIndex fixed index updates 2012-04-03 08:49:29 +02:00
HttpServer fixed string buffer and error handling 2012-03-17 23:18:47 +01: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 generated files 2012-04-01 12:00:38 +02:00
JsonParserX fixes for clang and clang++ 2012-02-22 15:35:05 +01:00
Logger fixed string buffer and error handling 2012-03-17 23:18:47 +01:00
PriorityQueue fixed compiler warnings 2012-04-11 10:10:52 +02:00
ProgramOptions merged Jan's and Achim's changes 2012-03-15 16:47:50 +01:00
QL fixed memleaks 2012-04-04 18:41:39 +02:00
Rest added unittests target 2012-04-08 12:44:55 +02:00
RestHandler tests for document and collection 2012-04-12 12:03:33 +02:00
RestServer fixed edges 2012-04-12 17:11:56 +02:00
ResultGenerator clang 2012-03-22 22:24:52 +01:00
Scheduler clang 2012-03-22 22:24:52 +01:00
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 added free function for skiplist iterators 2012-04-11 13:43:20 +02:00
UnitTests added coverage config option 2012-04-12 15:51:49 +02:00
V8 fixed edges 2012-04-12 17:11:56 +02:00
V8Client tests for document and collection 2012-04-12 12:03:33 +02:00
Variant clang 2012-03-22 22:24:52 +01:00
VocBase fixed memleaks 2012-04-12 10:44:11 +02:00
config merge with SVN 2012-03-21 09:06:11 +01:00
html/admin new interface 2012-02-03 11:32:47 +01:00
js fixed edges 2012-04-12 17:11:56 +02:00
m4 issue #34: check for presence of scons when compiling V8 2012-04-11 10:58:10 +02:00
.gitignore added coverage config option 2012-04-12 15:51:49 +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.all-in-one added .libev-build 2012-02-20 10:52:05 +01:00
Makefile.am merge with SVN 2012-04-04 11:19:16 +02:00
Makefile.bison all-in-one version 2012-02-10 18:48:33 +01:00
Makefile.doxygen merge with SVN 2012-04-04 11:19:16 +02:00
Makefile.files fixed edges 2012-04-12 17:11:56 +02:00
Makefile.flex all-in-one version 2012-02-10 18:48:33 +01:00
Makefile.in fixed edges 2012-04-12 17:11:56 +02:00
Makefile.javascript fixed layout and memory bug 2012-03-13 01:26:32 +01:00
Makefile.unittests added coverage config option 2012-04-12 15:51:49 +02:00
README.md added path 2012-04-08 23:09:24 +02:00
aclocal.m4 added --enable-bison, --enable-flex, --enable-all-in-one 2012-02-10 19:33:09 +01:00
build.c added generated files 2012-02-09 10:22:48 +01:00
build.sh added relative paths for unittests 2012-04-12 15:19:22 +02:00
configure added coverage config option 2012-04-12 15:51:49 +02:00
configure.ac added coverage config option 2012-04-12 15:51:49 +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