blob: 73482d517b4e66129a024c6ccdeaa072476193d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
Embedded JSON database library Lua binding
============================================================
**[EJDB Lua API documentation](http://ejdb.org/luadoc/)**
Installation
-----------------------------------------------------
**Required tools/system libraries:**
* gcc
* **Lua >= 5.1**
* [luarocks](http://luarocks.org/en/Download)
* EJDB C library **libtcejdb** ([from sources](https://github.com/Softmotions/ejdb#manual-installation) or as [debian packages](https://github.com/Softmotions/ejdb/wiki/Debian-Ubuntu-installation))
**(A) Using luarocks from github sources**
```
umask 022
git clone https://github.com/Softmotions/ejdb.git
cd ./ejdb/luaejdb
make
sudo luarocks install ./luaejdb-*.rock
```
**(B) Installing on Ubuntu/Debian**
```
sudo add-apt-repository ppa:adamansky/ejdb
sudo apt-get update
sudo apt-get install lua51-ejdb
```
|