From a2100f3fbb37324615c75175a7f9c59bd51ad805 Mon Sep 17 00:00:00 2001 From: Anson Date: Tue, 5 Feb 2019 21:31:28 -0700 Subject: [PATCH] Formatting of run commands --- web/docs/index.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/web/docs/index.md b/web/docs/index.md index 8098f3d..61c28cb 100644 --- a/web/docs/index.md +++ b/web/docs/index.md @@ -58,9 +58,20 @@ You can also run your own bot super easily in a [Docker](https://hub.docker.com/ 1. Download the repository. 2. Change information in [Credentials.py]() with your own Telegram Bot key, which can be found [here.]() 3. Navigate to /bot directory in Powershell -4. Build an image of the bot: - `docker build -t stockbot .` +4. Build an image of the bot: + +```powershell +docker build -t stockbot . +``` + 5. Run the image: - `docker run -it --rm --detatch --name stockbot stockbot` + +```powershell +docker run -it --rm --detatch --name stockbot stockbot +``` + 6. Or you can run the image headless: - `docker run -it --rm --detatch --name stockbot stockbot` \ No newline at end of file + +```powershell +docker run -it --rm --detatch --name stockbot stockbot +```