mirror of https://github.com/huashengdun/webssh
Updated README
parent
46d1e5b091
commit
0344531960
12
README.md
12
README.md
|
@ -98,6 +98,18 @@ wssh.reset_encoding();
|
|||
wssh.send('ls -l');
|
||||
```
|
||||
|
||||
### Use Docker
|
||||
|
||||
Start up the app
|
||||
```
|
||||
docker-compose up
|
||||
```
|
||||
|
||||
Tear down the app
|
||||
```
|
||||
docker-compose down
|
||||
```
|
||||
|
||||
### Tests
|
||||
|
||||
Use unittest to run all tests
|
||||
|
|
15
README.rst
15
README.rst
|
@ -103,6 +103,21 @@ Browser console
|
|||
// send a command to the server
|
||||
wssh.send('ls -l');
|
||||
|
||||
Use Docker
|
||||
~~~~~~~~~~
|
||||
|
||||
Start up the app
|
||||
|
||||
::
|
||||
|
||||
docker-compose up
|
||||
|
||||
Tear down the app
|
||||
|
||||
::
|
||||
|
||||
docker-compose down
|
||||
|
||||
Tests
|
||||
~~~~~
|
||||
|
||||
|
|
Loading…
Reference in New Issue