Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
8956ea59d8
|
|||
| 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.)
|
||||||
|
|||||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hal8000",
|
"name": "hal8000",
|
||||||
"version": "2.3.1",
|
"version": "2.4.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hal8000",
|
"name": "hal8000",
|
||||||
"version": "2.3.1",
|
"version": "2.4.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "./run.sh",
|
"start": "./run.sh",
|
||||||
|
|||||||
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