Updated README

static
Sheng 2019-04-18 19:54:20 +08:00
parent 46d1e5b091
commit 0344531960
2 changed files with 27 additions and 0 deletions

View File

@ -98,6 +98,18 @@ wssh.reset_encoding();
wssh.send('ls -l'); wssh.send('ls -l');
``` ```
### Use Docker
Start up the app
```
docker-compose up
```
Tear down the app
```
docker-compose down
```
### Tests ### Tests
Use unittest to run all tests Use unittest to run all tests

View File

@ -103,6 +103,21 @@ Browser console
// send a command to the server // send a command to the server
wssh.send('ls -l'); wssh.send('ls -l');
Use Docker
~~~~~~~~~~
Start up the app
::
docker-compose up
Tear down the app
::
docker-compose down
Tests Tests
~~~~~ ~~~~~