Skip to content

Latest commit

 

History

History
77 lines (51 loc) · 2.07 KB

README.md

File metadata and controls

77 lines (51 loc) · 2.07 KB

cursed-status-page

A simple status page webserver that you control using Slack

Ugh

Static Badge Docker Publish Docker Image Deploy NYC Mesh Status Page

Usage

Ping @Cursed Status Page in the #status-page channel with your status update, and then react to it with 🟢, 🟡, or 🔴 to turn it green, yellow, or red respectively. Pin the message in Slack to pin the message on the channel.

Setup

Slack Bot

A manifest file is included with this repo.

Go to https://api.slack.com/apps and click, "Create New App", then upload slack-manifest.yaml and update the URLs to point at wherever you host your page.

Setup (Development)

Clone this repo

git clone https://github.com/willnilges/cursed-status-page

Fill out the .env.sample

cp .env.sample .env
vim .env # Use your favorite editor

Build and Run

go run .

To serve this app, I use ngrok

ngrok http --domain <your-domain> --host-header=rewrite localhost:8080

Setup (Production)

This repo has a Dockerfile you can use

Clone this repo

git clone https://github.com/willnilges/cursed-status-page

Fill out the .env.sample

cp .env.sample .env
vim .env # Use your favorite editor

Build and Run

docker build . --tag cursed-status-page
docker run --rm --env-file .env -p 8080:8080 cursed-status-page