Unverified Commit fcb83f89 authored by Mathieu Stefani's avatar Mathieu Stefani Committed by GitHub

Merge pull request #209 from jplflyer/jpl/AddBuildInfoToReadme

Simple update to the README.md to include build info 
parents 30b67405 e0e5aca1
......@@ -17,6 +17,39 @@ That's why your help is needed. If you would like to contribute to the project i
Hope to see you there !
# To Build:
To download the latest available release, clone the repository over github.
git clone https://github.com/oktal/pistache.git
Then, init the submodules:
git submodule update --init
Now, compile the sources:
cd pistache
mkdir build
cd build
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make
sudo make install
If you want the examples built, then change change the cmake above to:
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCPISTACHE_BUILD_EXAMPLES=true ..
After running the above, you can then cd into the build/examples directory and run make.
Optionally, you can also run the tests:
make test
Be patient, async_test can take some time before completing.
And that’s it, now you can start playing with your newly installed Pistache framework.
# Example
## Hello World (server)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment