https://github.com/ojacques/chatopslab
Get started with ChatOps: an hands on set of steps
https://github.com/ojacques/chatopslab
Last synced: 8 months ago
JSON representation
Get started with ChatOps: an hands on set of steps
- Host: GitHub
- URL: https://github.com/ojacques/chatopslab
- Owner: ojacques
- License: apache-2.0
- Created: 2016-11-02T15:59:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-12T09:18:07.000Z (over 9 years ago)
- Last Synced: 2025-07-15T17:50:21.813Z (11 months ago)
- Language: CoffeeScript
- Size: 61.5 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chatopslab
Get started with ChatOps: an hands on set of steps
# Starting services
## hubot
### setup .env file
- Get a bot user and SLACK token at https://my.slack.com/services/new/bot
- Create an .env file
```
cp hubot/.env.template hubot/.env
vi hubot/.env
```
### Start it
- Start hubot
```bash
$ bin/start_hubot_as_docker.sh
```
This command will build a docker image and start it.
- Start the docker-compose monitoring
```
hubot/scripts/bin/monitor-compose.sh
```
TODO: Move it in the hubot container...
- In chat, subscribe to "docker" events
```
@mybot subscribe docker
```
- Run commands

For details about the bot. check it [here](hubot/README.md)
## app
### Start the Application from the bot
Open the slack chat
type `@mybot docker start`
Replace `mybot` to your bot name if needed.
For details about the Application, check it [here](app/README.md)