GithubHelp home page GithubHelp logo

florencewilliamson / statuspage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from darkpixel/statuspage

0.0 1.0 0.0 96 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.27% HTML 34.73%

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

darkpixel avatar

Watchers

James Cloos avatar

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.