gitcoinco / web

Grow Open Source
https://gitcoin.co
Other
1.78k stars 771 forks source link

Static Maintenance / Failover page #743

Closed mbeacom closed 5 years ago

mbeacom commented 6 years ago

User Story

As a user, I want to see a static Gitcoin page if the site is undergoing maintenance or not responsive.

Why Is this Needed?

Summary: We should implement a static page to be used for dns failover with gitcoin branding (use existing base template) and a message explaining the website is currently undergoing maintenance.

Description

Type: Feature

Current Behavior

Currently, if a user makes a request against https://gitcoin.co during a maintenance window or outage, they are greeted by a This site can't be reached error.

screenshot 2018-03-29 08 54 12

Expected Behavior

A user requests https://gitcoin.co during a maintenance window or outage and is greeted with a gitcoin branded maintenance/outage page.

Solution

Definition of Done

Additional Information

The core team will handle initial deployment and tooling to automatically update this static page following merging to master

owocki commented 6 years ago

https://github.com/gitcoinco/web/issues/715

hrithik-jha commented 6 years ago

Hi I'd like to work on this.

owocki commented 6 years ago

got a portfolio you can show off?

@mbeacom is this a design ticket or a coding ticket?

hrithik-jha commented 6 years ago

If this is a coding ticket, then I can make a front end on based on index.html

mbeacom commented 6 years ago

My original intent here was to replicate the index.html with the exception of dynamic navbar items and data. Aligning with the existing design should be fine.

kuhnchris commented 6 years ago

So basically you want to save the HTML, pull all the css content into the HTML and create a 1-page static page for maintenance purposes - or do you want a "real" static page generator like django-distill? https://www.staticgen.com/django-distill

bhaveshAn commented 5 years ago

@owocki Since, this hasn't been assigned to anyone. I would like to work on this. Can you tell exactly what should be mentioned in this static page.

kuhnchris commented 5 years ago

@danlipert since this seems to (also) be a topic regarding fail-over, infrastructure, etc. - is this still something that does happen? or do we upgrade instances one after another so this is basically moot?

Thanks!

danlipert commented 5 years ago

Yeah IMO its moot - the way we do deploys right now there shouldn't ever be a moment where the load balancer is completely dead