Try to have a pretty readme
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Michel Roux 2022-09-12 18:08:49 +00:00
parent 1bb1827647
commit 037b9704b2
1 changed files with 15 additions and 2 deletions

View File

@ -19,7 +19,14 @@ Simple website that guides you to invite a bot to read and format scheduled even
### 2) With Docker
- Install [Docker](https://docs.docker.com/get-docker/)
- Run `docker run -p 5000 -e DISCORD_TOKEN=your_bot_token -e OAUTH2_CLIENT_ID=your_client_id -e OAUTH2_CLIENT_SECRET=your_client_secret xefir/divent`
- Run
```bash
docker run -p 5000 \
-e DISCORD_TOKEN=your_bot_token \
-e OAUTH2_CLIENT_ID=your_client_id \
-e OAUTH2_CLIENT_SECRET=your_client_secret \
xefir/divent
```
- The app is accessible at http://localhost:5000
### 2) Without Docker
@ -27,7 +34,13 @@ Simple website that guides you to invite a bot to read and format scheduled even
- Install [Python 3](https://www.python.org/downloads/)
- Install [Pip](https://pip.pypa.io/en/stable/installing/)
- Run `pip install divent`
- Run `DISCORD_TOKEN=your_bot_token OAUTH2_CLIENT_ID=your_client_id OAUTH2_CLIENT_SECRET=your_client_secret divent`
- Run
```bash
DISCORD_TOKEN=your_bot_token \
OAUTH2_CLIENT_ID=your_client_id \
OAUTH2_CLIENT_SECRET=your_client_secret \
divent
```
- The app is accessible at http://localhost:5000
## Links