Compare commits
3 Commits
github
...
e02c3bb9b6
| Author | SHA1 | Date | |
|---|---|---|---|
| e02c3bb9b6 | |||
| 564df1770a | |||
|
e29b67749f
|
31
README.md
31
README.md
@@ -1,3 +1,30 @@
|
||||
## [MOVED] hal8000
|
||||
## hal8000
|
||||
|
||||
This repo has been moved to our Gitea instance: https://gitea.kosmos.org/kosmos/hal8000
|
||||
hal8000 is a chat bot built on the [Hubot](https://hubot.github.com/)
|
||||
framework. It's currently running in some channels on Freenode.
|
||||
|
||||
### Running hal8000 locally
|
||||
|
||||
npm start
|
||||
|
||||
### Incoming webhooks in development
|
||||
|
||||
With [ngrok](https://ngrok.com) installed (and the ngrok binary in your PATH),
|
||||
you can open an HTTP tunnel with:
|
||||
|
||||
npm run ngrok
|
||||
|
||||
### Configuration
|
||||
|
||||
`run.sh` (which is used for `npm start`) has some default values for the
|
||||
required ENV vars. Change it according to your needs, or use custom ENV vars
|
||||
with the commands.
|
||||
|
||||
### Deployment
|
||||
|
||||
hal8000 is deployed by running Chef Zero against `barnard.kosmos.org` with the
|
||||
cookbooks from our [Gitea repo](https://gitea.kosmos.org/kosmos/chef).
|
||||
|
||||
### House Rules
|
||||
|
||||
[Contributor Code of Conduct](http://contributor-covenant.org/version/1/2/0/) (TL;DR: Be excellent to each other.)
|
||||
|
||||
5
scripts/health.js
Normal file
5
scripts/health.js
Normal file
@@ -0,0 +1,5 @@
|
||||
module.exports = function (robot) {
|
||||
robot.router.get('/health/live', (req, res) => {
|
||||
res.send('OK');
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user