-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from chez-shanpu/README
READMEの追加
- Loading branch information
Showing
2 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# secretary | ||
|
||
## secretary-lab | ||
|
||
### Getting Started | ||
|
||
1. prepare `config.yaml` | ||
|
||
```bash | ||
$ cp sample-config.yaml config.yaml | ||
``` | ||
|
||
```yaml | ||
# config.yaml | ||
users: | ||
shanpu: # username | ||
slack_id: "Uxxxxx" # user's slack id | ||
slack_channel: "nil" # slack channel | ||
secretary_name: "sample" # bot name | ||
secretary_icon: ":slack:" # bot icon(your slack-workspace's custom icon name) | ||
secretary_coming_msg: "" # bot message when you come | ||
secretary_goodbye_msg: "" # bot message when you leave | ||
rinse: | ||
slack_id: ... | ||
... | ||
|
||
``` | ||
|
||
2. set environment vars in `docker-compose.yml` | ||
- `LAB_SLACK_TOKEN`: slack bot token | ||
- `LAB_SLACK_COMING_CHANNEL`: slack channel ID to report entry | ||
|
||
3. run | ||
```bash | ||
$ docker-compose up -d | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters