commit 03445319606a5b122488c7102ea6fe4725dd7573 parent 46d1e5b0910f3c37581568e93c9adb4245c29926 Author: Sheng <webmaster0115@gmail.com> Date: Thu, 18 Apr 2019 19:54:20 +0800 Updated README Diffstat:
M | README.md | | | 12 | ++++++++++++ |
M | README.rst | | | 15 | +++++++++++++++ |
2 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/README.md b/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 diff --git a/README.rst b/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 ~~~~~