Compare commits
1 Commits
github
...
e29b67749f
| Author | SHA1 | Date | |
|---|---|---|---|
|
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.)
|
||||||
|
|||||||
1858
package-lock.json
generated
1858
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -19,7 +19,7 @@
|
|||||||
"hubot-help": "^1.0.1",
|
"hubot-help": "^1.0.1",
|
||||||
"hubot-incoming-webhook": "^1.1.1",
|
"hubot-incoming-webhook": "^1.1.1",
|
||||||
"hubot-irc": "github:67P/hubot-irc#dev",
|
"hubot-irc": "github:67P/hubot-irc#dev",
|
||||||
"hubot-kredits": "github:67P/hubot-kredits#7db7a83a342e1df378250f02381b783752cdd930",
|
"hubot-kredits": "^3.8.0",
|
||||||
"hubot-plusplus": "github:67P/hubot-plusplus#feature/configurable_points_term",
|
"hubot-plusplus": "github:67P/hubot-plusplus#feature/configurable_points_term",
|
||||||
"hubot-read-tweet": "0.0.2",
|
"hubot-read-tweet": "0.0.2",
|
||||||
"hubot-redis-brain": "1.0.0",
|
"hubot-redis-brain": "1.0.0",
|
||||||
|
|||||||
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