Updated README
This commit is contained in:
@@ -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
|
||||||
|
|||||||
+15
@@ -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
|
||||||
~~~~~
|
~~~~~
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user