Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Building: Mint 17

Craig Minihan edited this page Nov 3, 2015 · 9 revisions

Building AvanceDB on Mint 17 is pretty easy. You'll need to execute the following steps as root or by prefixing the command lines with sudo.

Make sure the package database is current:

sudo apt-get update

Install basic tools:

sudo apt-get install curl wget unzip pkgconf

Install development tools and libraries:

sudo apt-get install g++ make autoconf automake libtool git libboost-all-dev zlib1g-dev

Now we can pull the code, make a directory under your home directory, change to it and run the following:

git clone --recursive https://github.com/RipcordSoftware/AvanceDB.git
cd AvanceDB
make -j 2 CONF=Release

Assuming all went well you should have a built AvanceDB release binary under src/avancedb/dist/Release/GNU-Linux-x86, change to that directory and run it:

cd src/avancedb/dist/Release/GNU-Linux-x86
./avancedb

You can validate that AvanceDB is running by pointing your browser to port 5994 on your system, you should see something like:

{"couchdb":"Welcome","avancedb":"Welcome","uuid":"a2db86472466bcd02e84ac05a6c86185","version":"1.6.1","vendor":{"version":"0.0.1","name":"Ripcord Software"}}

Developing with AvanceDB

If you want to develop against AvanceDB you will need a debug build, first we need to install some more packages

sudo apt-get install openjdk-7-jre doxygen
sudo apt-get install ruby lcov
sudo apt-get install python-dev python-pip
sudo apt-get install nodejs npm
sudo apt-get install couchdb

Soft-link the nodejs binary as node:

sudo ln -s /usr/bin/nodejs /usr/bin/node

Build in debug mode:

make -j 2

If you have more than two CPU cores on your system then you can increase the value of the -j parameter to decrease build times.

Now you can run the tests:

make test