Building under Linux (original) (raw)
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