From 5baaa7724986620969f50af122bd0b2758e59f07 Mon Sep 17 00:00:00 2001 From: adam Date: Thu, 2 May 2013 01:51:03 +0700 Subject: [PATCH] npm pkg on win32 docs --- README.md | 6 +++++- tcejdb/WIN32.md | 15 +++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 43cf926..3e061f4 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ JSON representation of queries and data implemented with API based on [C BSON](h News =============================== +* `2013-05-02` **[NodeJS win32 module available](https://github.com/Softmotions/ejdb/blob/master/tcejdb/WIN32.md#ejdb-nodejs-module-installation)** * `2013-04-25` **[EJDB and TokyoCabinet API ported to Windows](https://github.com/Softmotions/ejdb/blob/master/tcejdb/WIN32.md)** * `2013-04-03` **[Java API binding available](https://github.com/Softmotions/ejdb/blob/master/jejdb/)** * `2013-03-20` **[Lua binding available](https://github.com/Softmotions/ejdb/blob/master/luaejdb/)** @@ -126,10 +127,13 @@ On Debian/Ubuntu linux you can install it as follows: sudo apt-get install g++ zlib1g zlib1g-dev ~~~~~~ -**Installation from node package manager:** +**Installation from node package manager on linux/macos:** npm install ejdb +**[Installing EJDB NodeJS win32 module](https://github.com/Softmotions/ejdb/blob/master/tcejdb/WIN32.md#ejdb-nodejs-module-installation)** + + EJDB NodeJS samples --------------------------------- diff --git a/tcejdb/WIN32.md b/tcejdb/WIN32.md index beb6c54..540f7ac 100644 --- a/tcejdb/WIN32.md +++ b/tcejdb/WIN32.md @@ -4,6 +4,8 @@ Precompiled windows binaries * [tcejdb-1.1.3-mingw32-i686](https://dl.dropboxusercontent.com/u/4709222/ejdb/tcejdb-1.1.3-mingw32-i686.zip) * [tcejdb-1.1.3-mingw32-x86_64](https://dl.dropboxusercontent.com/u/4709222/ejdb/tcejdb-1.1.3-mingw32-x86_64.zip) +**[Installing EJDB NodeJS win32 module](#ejdb-nodejs-module-installation)** + Building EJDB and TokyoCabinet for windows ========================================== @@ -100,6 +102,19 @@ it automatically downloaded by `mxe-build.sh` from my dropbox account. So do not * HDB `tchdbsetxmsiz()` takes no effect because all file data is memory mapped on windows platform. +EJDB NodeJS module installation +================================== + +To install nodejs ejdb binding you need: + + * MSVC 2010 express edition + * Installed node v0.8.x or v0.10.x + * Manually installed `npm install adm-zip` package (because it needed during installation process) + + Then star MSVC cmd window and run: + + npm install ejdb + -- 2.7.4