Giter Site home page Giter Site logo

darkpixel / statuspage Goto Github PK

View Code? Open in Web Editor NEW
111.0 10.0 24.0 124 KB

A simple self-hosted status page site with an API written in Django under the BSD license

Home Page: https://darkpixel.github.com/statuspage/

License: BSD 3-Clause "New" or "Revised" License

Python 65.35% HTML 34.65%
status statuspage django-application

statuspage's Introduction

statuspage

A simple self-hosted open source status page site written in Django

Inspired by 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/issues

Quick 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 migrate

uWSGI

  • 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

statuspage's People

Contributors

codemonkey2841 avatar darkpixel avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

statuspage's Issues

Updated incidents not displaying

Incidents that have been updated recently, but created more than a week ago are not showing up in the list.

kwargs.update({'incident_list': Incident.objects.filter(created__gt=date.today() - timedelta(days=7))})

should be

kwargs.update({'incident_list': Incident.objects.filter(updated__gt=date.today() - timedelta(days=7))})

No screenshots

I'm looking for screenshots to see to this will fit my needs before downloading/installing, and I'm having trouble finding any anywhere.

Hidden Incidents broken

The 'Hidden Incidents' page shows open incidents, not hidden incidents. Unable to easily retrieve and re-open an old incident because of this.

Ubuntu/ Nginx install

Hi

I'm wondering if there's a rough guide/ walkthrough to have this run on Nginx with a Debian based server OS.
Thanks.

Interested in seeing how this differs to Cachet.

demo website

it seems that there is no demo website which is a very important element in evaluating it, most of the other alternatives do have a working demo site.

Demo Site

The demo site is currently down while I shuffle infrastructure.

I'd like to get it back up at some point, but also dockerize the app so people can play with it with a few simple commands.

demo?

Is there a demo somewhere to see how this looks like?
Any Docker image available for quick deployment?

Heroku deploy error

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-6mpCw7/psycopg2/
when deploying to Heroku

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.