Go to file
2021-05-15 14:56:11 +02:00
uptimestatus Add attribution link 2021-05-15 14:51:45 +02:00
.gitignore Add gitignore 2021-05-15 14:50:19 +02:00
app.py Restructure code again 2021-05-15 14:31:07 +02:00
LICENSE Add license 2021-05-15 14:49:40 +02:00
README.md Add screenshot 2021-05-15 14:56:11 +02:00
requirements.txt Package module 2021-05-12 21:59:48 +02:00
screenshot.png Add screenshot 2021-05-15 14:56:11 +02:00
setup.py Package module 2021-05-12 21:59:48 +02:00

Uptime Status

Simple status page for server uptime.

screenshot

Deployment

Init codebase

git clone https://github.com/clerie/uptime-status.git
cd uptime-status/
virtualenv -p python3 ENV
cd ..

Create config.cfg with the following contents and edit values for your needs:

PROMETHEUS_API_BASE="http://[::1]:9090"

Starten und updaten lässt sich die Flask-App folgendermaßen:

cd uptime-status/
git pull
source ENV/bin/activate
pip install -r requirements.txt
UPTIMESTATUS_SETTINGS=/path/to/config.cfg gunicorn uptimestatus:app
deactivate