You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
clerie cfd1084196 Add license 1 year ago
uptimestatus Add default api base 1 year ago
LICENSE Add license 1 year ago
README.md Configure settings by config file 1 year ago
app.py Restructure code again 1 year ago
requirements.txt Package module 1 year ago
setup.py Package module 1 year ago

README.md

Uptime Status

Simple status page for server uptime.

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