commit 664fe685b5403f56663e92d33ba46031ebc9d13c parent 39b416352f627ef621713594880a0034686ed501 Author: Sheng <webmaster0115@gmail.com> Date: Fri, 8 Dec 2017 22:04:16 +0800 Added running examples Diffstat:
M | README.md | | | 11 | +++++++++++ |
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md @@ -13,7 +13,18 @@ $ pip install -r requirements.txt ### Run ``` +// default listen on 127.0.0.1:8888 $ python main.py + +// change listen address and port +$ python main.py --address='0.0.0.0' --port=8000 + +// change logging level +$ python main.py --logging=debug + +// log to file +$ python main.py --log-file-prefix=main.log + ``` ### Help