Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/darkpixel/statuspage
A simple self-hosted status page site with an API written in Django under the BSD license
https://github.com/darkpixel/statuspage
django-application status statuspage
Last synced: 29 days ago
JSON representation
A simple self-hosted status page site with an API written in Django under the BSD license
- Host: GitHub
- URL: https://github.com/darkpixel/statuspage
- Owner: darkpixel
- License: bsd-3-clause
- Created: 2015-01-10T21:28:16.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-04-22T23:33:06.000Z (over 2 years ago)
- Last Synced: 2024-09-28T16:23:38.928Z (about 1 month ago)
- Topics: django-application, status, statuspage
- Language: Python
- Homepage: https://darkpixel.github.com/statuspage/
- Size: 121 KB
- Stars: 112
- Watchers: 10
- Forks: 23
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - darkpixel/statuspage - A simple self-hosted status page site with an API written in Django under the BSD license (others)
README
statuspage
==========A simple self-hosted open source status page site written in Django
Inspired by [Cachet](https://github.com/cachethq/Cachet)
Cachet is a great product, I simply despise PHP.
Please file an issue if you have trouble or want to suggest an improvement! We love to help!
https://github.com/darkpixel/statuspage/issuesQuick Setup
===========Heroku / Dokku
--------------
* Check out the code from github
* Push it to Dokku or Heroku
* Set the DATABASE_URL variable as appropriate
* Set the variable PRODUCTION to 'True'
* Optionally set the STATUS_LOGO_URL to the logo you would like displayed on the status page
* Optionally Set the STATUS_TICKET_URL to the URL of your ticket system
* Optionally Set the STATUS_TITLE variable to something appropriate for the page title
* Optionally set the LOGO_URL to the logo you would like displayed on the status page
* Optionally Set the TICKET_URL to the URL of your ticket system
* Make sure you run: python manage.py migrateuWSGI
-----* Check out the code from github into a directory on your server.
* For this example we assume the code is checked out to '/var/hosting/unconfigured.org/statuspage'
* Create a virtualenv: virtualenv /var/hosting/unconfigured.org/virtualenv
* Activate the virtualenv: . /var/hosting/unconfigured.org/virtualenv/bin/activate
* Install the requirements: pip install -r /var/hosting/unconfigured.org/statuspage/requirements.txt
* The following should be sufficient as a UWSGI config:
* Make sure you run: python manage.py migrate```
[uwsgi]
plugins=python
chdir=/var/hosting/unconfigured.org/statuspage
module=statuspage.wsgi:application
socket=127.0.0.1:9000
env=PRODUCTION=True
env=DJANGO_SETTINGS_MODULE=statuspage.settings
env=DATABASE_URL=sqlite:////var/hosting/unconfigured.org/statuspage.db
home=/var/hosting/unconfigured.org/virtualenv
uid=statuspage
gid=statuspage
```Locally using virtualenvwrapper
-------------------------------
* mkvirtualenv statuspage
* edit ~/.virtualenvs/statuspage/bin/postactivate to export DATABASE_URL, and optionally STATUS_LOGO_URL, STATUS_TICKET_URL, and STATUS_TITLE
* Check out the code from github
* pip install -r requirements.txt
* python manage.py migrate
* python manage.py runserver