mirror of
https://github.com/huashengdun/webssh.git
synced 2026-08-22 13:46:44 +00:00
Updated README
This commit is contained in:
@@ -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
@@ -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
|
||||
~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user