Skip to content

Building under Linux

Jarle Aase edited this page Oct 29, 2017 · 2 revisions

Building under Linux

# Check out the source code
git clone https://github.com/jgaa/restc-cpp.git
cd restc-cpp/
mkdir dbuild
cd dbuild
cmake ..
make
cd ..

# Create Docker containers for testing.
# Uses localhost port 3000 - 3003 for mock services
./create-and-run-containers.sh

# Run unit tests and functional tests
./tests/run-tests.sh

Ubuntu LTS

Follow the general linux instructions above. You can run the command below to install the development packages the library require

sudo apt-get install zlib1g-dev g++ cmake doxygen graphviz libboost-all-dev libssl-dev
Clone this wiki locally