Update README

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
main
Jianhui Zhao 2017-12-29 14:46:40 +08:00
parent 78ee11782b
commit 02f25bb0fd
2 changed files with 10 additions and 10 deletions

View File

@ -30,18 +30,18 @@ A very tiny and fast HTTP server library based on [libubox] and referenced from
## Configure ## Configure
See which configuration are supported See which configuration are supported
~/libuhttp/build$ cmake .. -L ~/libuhttpd/build$ cmake .. -L
~/libuhttp/build$ cmake .. -LH ~/libuhttpd/build$ cmake .. -LH
## Run the Example ## Run the Example
First generate the SSL certificate file First generate the SSL certificate file
~/libuhttp/build$ cd .. ~/libuhttpd/build$ cd ..
~/libuhttp$ ./gen_cert.sh ~/libuhttpd$ ./gen_cert.sh
Run Run
~/libuhttp$ ./build/example/helloworld ~/libuhttpd$ ./build/example/helloworld
Then use the command curl or browser to test Then use the command curl or browser to test

View File

@ -30,18 +30,18 @@
## 配置 ## 配置
查看支持哪些配置选项 查看支持哪些配置选项
~/libuhttp/build$ cmake .. -L ~/libuhttpd/build$ cmake .. -L
~/libuhttp/build$ cmake .. -LH ~/libuhttpd/build$ cmake .. -LH
## 运行例子 ## 运行例子
首先生成SSL证书文件 首先生成SSL证书文件
~/libuhttp/build$ cd .. ~/libuhttpd/build$ cd ..
~/libuhttp$ ./gen_cert.sh ~/libuhttpd$ ./gen_cert.sh
运行 运行
~/libuhttp$ ./build/example/helloworld ~/libuhttpd$ ./build/example/helloworld
然后使用命令curl或者浏览器进行测试 然后使用命令curl或者浏览器进行测试