Skip to content

Instantly share code, notes, and snippets.

@dalegaspi
Created April 18, 2015 15:35
Show Gist options
  • Save dalegaspi/5103efd2fc282a3dd322 to your computer and use it in GitHub Desktop.
Save dalegaspi/5103efd2fc282a3dd322 to your computer and use it in GitHub Desktop.
Installing SoftMotion's EJDB (Embedded JSON DB) on OS X Yosemite
# use withe sudo when applicable
# install cmake via MacPorts
port install cmake
# install as per INSTALL
git clone https://github.com/Softmotions/ejdb.git
cd ejdb
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ../
make
make install
# install npm/nodejs via MacPorts
port install npm
# install the CLI tools
npm install -g ejdb
# ...if you get an error about module 'nan' not found:
# npm install -g node-gyp nan
# then re-run ejdb install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment