#!/bin/bash

apt-get update
apt-get install curl wget unzip bzip2 pkgconf
apt-get install g++ make autoconf automake libtool git libboost-all-dev zlib1g-dev
mkdir -p ~/opt/advanced
git clone --recursive https://github.com/RipcordSoftware/AvanceDB.git ~/opt/advancedb
pushd ~/opt/advancedb
make -j 2 CONF=Release
echo "start it with this command"
echo "~/opt/advancedb/src/avancedb/dist/Release/GNU-Linux-x86/avancedb"
echo "url : http://localhost:5994/_utils"
popd
