1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-06-16 15:17:28 +00:00

Formatting of run commands

This commit is contained in:
Anson 2019-02-05 21:31:28 -07:00
parent 0764313e8e
commit a2100f3fbb

View File

@ -58,9 +58,20 @@ You can also run your own bot super easily in a [Docker](https://hub.docker.com/
1. Download the repository. 1. Download the repository.
2. Change information in [Credentials.py]() with your own Telegram Bot key, which can be found [here.]() 2. Change information in [Credentials.py]() with your own Telegram Bot key, which can be found [here.]()
3. Navigate to /bot directory in Powershell 3. Navigate to /bot directory in Powershell
4. Build an image of the bot: 4. Build an image of the bot:
`docker build -t stockbot .`
```powershell
docker build -t stockbot .
```
5. Run the image: 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: 6. Or you can run the image headless:
`docker run -it --rm --detatch --name stockbot stockbot`
```powershell
docker run -it --rm --detatch --name stockbot stockbot
```