1
0
Fork 0
a mirror from github
Go to file
Frank Celler c76670ca08 added basic session and user management 2012-04-16 12:24:13 +02:00
3rdParty added ptmalloc3 2012-04-15 00:01:19 +02:00
Admin added level for log-messages 2012-04-16 11:14:59 +02:00
ApplicationServer cleanup of documentation 2012-04-13 18:18:58 +02:00
Basics added WeakDictionary 2012-04-15 12:11:58 +02:00
BasicsC added level for log-messages 2012-04-16 11:14:59 +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 added basic session and user management 2012-04-16 12:24:13 +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 WeakDictionary 2012-04-15 12:11:58 +02:00
RestHandler merged import into git 2012-04-16 08:50:13 +02:00
RestServer added basic session and user management 2012-04-16 12:24:13 +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 merged import into git 2012-04-16 08:50:13 +02:00
SkipLists added free function for skiplist iterators 2012-04-11 13:43:20 +02:00
UnitTests added UTF8 marker 2012-04-14 21:54:03 +02:00
UserManager added basic session and user management 2012-04-16 12:24:13 +02:00
V8 added select-by-example 2012-04-15 21:48:21 +02:00
V8Client merged import into git 2012-04-16 08:50:13 +02:00
Variant clang 2012-03-22 22:24:52 +01:00
VocBase added basic session and user management 2012-04-16 12:24:13 +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 added select-by-example 2012-04-15 21:48:21 +02:00
m4 trying to check for centos compile flags 2012-04-13 18:18:42 +02:00
.gitignore added isSystem, cleanup of graph module 2012-04-15 00:02:08 +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 merged 2012-04-04 11:15:41 +02:00
Makefile.bison all-in-one version 2012-02-10 18:48:33 +01:00
Makefile.doxygen merged 2012-04-04 11:15:41 +02:00
Makefile.files added basic session and user management 2012-04-16 12:24:13 +02:00
Makefile.flex all-in-one version 2012-02-10 18:48:33 +01:00
Makefile.in added basic session and user management 2012-04-16 12:24:13 +02:00
Makefile.javascript fixed layout and memory bug 2012-03-13 01:26:32 +01:00
Makefile.unittests more coverage 2012-04-13 23:19:09 +02:00
README.md added path 2012-04-08 23:09:24 +02:00
VERSION added push and VERSION 2012-04-15 22:13:30 +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 removed make setup 2012-04-14 21:56:32 +02:00
configure trying to check for centos compile flags 2012-04-13 18:18:42 +02:00
configure.ac trying to check for centos compile flags 2012-04-13 18:18:42 +02:00
coverage.sh more coverage 2012-04-13 23:19:09 +02:00
release.sh added push and VERSION 2012-04-15 22:13:30 +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