Update README.md
This commit is contained in:
parent
0a33b2e054
commit
79903b6abb
1 changed files with 7 additions and 4 deletions
11
README.md
11
README.md
|
|
@ -35,9 +35,14 @@ On Linux using g++: add `-pthread`
|
|||
|
||||
Note: added `-lboost_thread` to make the json-example thread safe. On some systems you might have to use `-lboost_thread-mt` instead.
|
||||
|
||||
#### HTTP
|
||||
You can now also compile using CMake and make:
|
||||
|
||||
Use CMake and make, or:
|
||||
```
|
||||
cmake .
|
||||
make
|
||||
```
|
||||
|
||||
#### HTTP
|
||||
|
||||
`g++ -O3 -std=c++11 http_examples.cpp -lboost_system -lboost_thread -o http_examples`
|
||||
|
||||
|
|
@ -47,8 +52,6 @@ Also, direct your favorite browser to for instance http://localhost:8080/
|
|||
|
||||
#### HTTPS
|
||||
|
||||
Use CMake and make, or:
|
||||
|
||||
`g++ -O3 -std=c++11 https_examples.cpp -lboost_system -lboost_thread -lssl -lcrypto -o https_examples`
|
||||
|
||||
Before running the server, an RSA private key (server.key) and an SSL certificate (server.crt) must be created. Follow, for instance, the instructions given here (for a self-signed certificate): http://www.akadia.com/services/ssh_test_certificate.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue