Oauth Anthentication #48
17
README.md
17
README.md
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user