mirror of
https://github.com/huashengdun/webssh.git
synced 2026-02-14 11:49:50 +00:00
Updated README
This commit is contained in:
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
|
||||
~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user