Skip to content

Commit

Permalink
[ci skip] Add token instructions to README
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbooth committed Jul 31, 2022
1 parent 8919303 commit 050f3f9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@ To start off, clone the repository into your desired directory:
git clone https://github.com/BrackeysBot/Hammer.git
```

### Setting up for Docker compose
Two directories are required to exist for Docker compose to mount as container volumes.
### Setting things up
The bot's token is passed to the container using the `DISCORD_TOKEN` environment variable. Create a file named `.env`, and add the following line:
```
DISCORD_TOKEN=your_token_here
```

Two directories are required to exist for Docker compose to mount as container volumes, `data` and `logs`:
```bash
mkdir data
mkdir logs
Expand Down

0 comments on commit 050f3f9

Please sign in to comment.