https://github.com/030/aotw
Administrator of the Week
https://github.com/030/aotw
Last synced: 10 days ago
JSON representation
Administrator of the Week
- Host: GitHub
- URL: https://github.com/030/aotw
- Owner: 030
- License: mit
- Created: 2021-07-27T19:19:32.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-28T05:40:53.000Z (almost 5 years ago)
- Last Synced: 2025-02-07T23:44:03.844Z (over 1 year ago)
- Language: Go
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aotw

Administrator Of The Week
## Configure sasm
Create a directory:
```bash
mkdir ~/.aotw
```
Create a config file:
```bash
vim ~/.aotw/config.yml
```
Add a Slack token:
```bash
---
admins:
# aaa
- code
# bbb
- code2
slack_token: someSlackToken
```
Save the file. Update the permissions to ensure that you are the
only one that is able to read and write to the config file:
```bash
chmod 0600 ~/.aotw/config.yml
```
## Send a slack message
[](https://hub.docker.com/r/utrecht/aotw)
```bash
docker run \
-v /home/${USER}/.aotw/:/home/aotw/.aotw/ utrecht/aotw:0.1.1 \
aotw -config /home/aotw/.aotw/config.yml
```