Commit 1508e055 by Sheng

Updated README.md

parent d817f81b
......@@ -13,32 +13,28 @@ A simple web application to be used as an ssh client to connect to your ssh serv
* Terminal window resizable.
* Compatible with Python 2.7-3.6.
### Install dependencies
### Instructions
```
$ pip install -r requirements.txt
git clone https://github.com/huashengdun/webssh.git
cd webssh
pip install -r requirements.txt
python main.py
```
### Run
### Options
```
// 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
# configure listen address and port
python main.py --address='0.0.0.0' --port=8000
// log to file
$ python main.py --log-file-prefix=main.log
```
# configure logging level
python main.py --logging=debug
### Help
# log to file
python main.py --log-file-prefix=main.log
```
$ python main.py --help
```
# more options
python main.py --help
```````
### Nginx config example for running this app behind an nginx 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