Skip to content

Commit

Permalink
readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
vyavdoshenko committed Jul 4, 2020
1 parent cf4e8f8 commit 34e1d2b
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,33 +73,40 @@ Build the code and run all the tests. Equivalent to cargo test.

## Docker build & run:

Build the docker container.
Build the docker container:
```
$ cd playground_bot
$ docker build -t playground_bot .
```

Run the application.
Run the application:
```
$ docker run -d --env TELEGRAM_BOT_TOKEN=1234567:YOUR_BOT_TOKEN --rm -it playground_bot
```
Take attention that 1234567:YOUR_BOT_TOKEN should be replaced with your bot ID. It should be gotten from Telegram BotFather.

## TODO:

The bot can process only execute commands from following request: https://play.rust-lang.org/execute
The bot can process only execute commands from the following request: https://play.rust-lang.org/execute

run/build/test

I plan to add compile commands in future if it needed: https://play.rust-lang.org/compile
Please contact me to make request this feature.
I plan to add compile commands in the future if needed: https://play.rust-lang.org/compile

Please contact me to make a request for this feature.

ASM/LLVM IR/MIR/WASM

## Contribution:

Feel free to create pull request or contact me to discuss for add/modify code or something else via GitHub or email: v.yavdoshenko at gmail.com

## Live bot:

You can try the latest version of this bot here:

https://telegram.me/rust_playground_bot

## DockerHub:

https://hub.docker.com/r/yavdoshenko/rust_playground_bot

0 comments on commit 34e1d2b

Please sign in to comment.