ActivityNet Installation and Deploy Instruction - actnet/saedb GitHub Wiki
##ActivityNet Installation and Deploy Instruction
One of the system design principles is to easily deployment. Generally speaking, it takes only 4 steps to deploy the developing environment:
Install GCC 4.8 or clang 3.3, CMake 2.8 (or higher edtion), Git
(Alternative) If you need the RPC component, install zeromg and protobuf related developing files.
Download, update source code
Using CMake to compile and run the program
Our system supports using C++ 11 compiler on normal POSIX systems. We have tested on Linux and Mac OS X. Take Ubuntu Linux 12.04 as an example, the deploying process is as follows:
######1. Install developing environment
sudo apt-get install build-essential g++-4.8 cmake git
######2. Install RPC model related files
sudo apt-get install libprotobuf-dev protobuf-compiler libzmq3-dev
######3. Download, Update source code
git clone https://github.com/THUKEG/saedb.git
######4. Compile and run the sytem
cd saedb
mkdir build
cd build
cmake .. && make
ctest
If it appears okay at last, the system is able to run on your machine. Notice that If you missed some software when installing, e.g. G++-4.8, please find it in Launchpad PPA. For example, gcc-4.8 can be found in ubuntu-toolchain-r/test. Follow the installing instructions and add it into the system.
After successfully compiling, just write programs as “pagerank” in the toolkit index.