GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - vote/puptime: Monitor site uptime

This repository was archived by the owner on Mar 7, 2024. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

223 Commits
223 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
ecs
ecs
 
 
scripts
scripts
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
COLLABORATORS
COLLABORATORS
 
 
Dockerfile-dev
Dockerfile-dev
 
 
Dockerfile.beat
Dockerfile.beat
 
 
Dockerfile.web
Dockerfile.web
 
 
Dockerfile.worker
Dockerfile.worker
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
docker-compose-prod.yaml
docker-compose-prod.yaml
 
 
docker-compose.yaml
docker-compose.yaml
 
 

Repository files navigation

Uptime Monitoring

By VoteAmerica

Citizens have an interest in ensuring that state web sites providing voter tools are online and available, particularing during the period leading up to an election or an election-related deadline. Normal site uptime monitoring tools are insufficient, however, for a few reasons:

  • Simply checking whether the web server is responding is not sufficient, however, as backend systems may go down and result in a friendly "Currently Unavailable" message. Puptime checks for specific keywords on the resulting pages.

  • Many states employ generic security tools or appliances that have a tendency to block external tools that are regularly monitoring a web page. Puptime makes it's page checks indistinguisable from humans by (1) using selenium to do a "normal" page load from a browser instance, and (2) directing those page loads through a dynamically-deployed and short-lived proxy server.

Puptime also archives the page source and a snapshot (PNG) of every page load for future reference.

To see puptime deployed: https://uptime.voteamerica.com/

Deploys

Deploys can only be done manually right now.

First, build and push the container process(es) to Heroku:

heroku container:push web --app=voteamerica-uptime --recursive

(Although there are other Dockerfiles, currently only web is used.)

Next, once the container has been built successfully, release it:

heroku container:release web --app=voteamerica-uptime

Run migrations if needed:

heroku run python manage.py migrate --app=voteamerica-uptime

Development

  1. Configure your environment by copying the example file: cp .env.example .env You'll want to set any values that you need to change

  2. Build and start the server:make up

  3. Run migrations: make migrate

  4. There aren't any tests yet, but you would run them this way: make test

  5. Create a super user: make createsuperuser

Note: see the Makefile for more tasks that you might be interested in

About

Monitor site uptime

uptime.voteamerica.com/sites/

Resources

Readme
MIT license
Activity
Custom properties

Stars

2 stars

Watchers

4 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.