This repository has been archived by the owner on Apr 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
livelink/smart-error
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Smart Error =========== Ever frustrated by those maintenance pages that don't tell you when the maintenance is done? Concerned about users that would have come back, but forgot to check? Smart Error allows a visitor to leave an email address so that you can contact them when the site they were trying to visit is back online. Requirements ------------ Software: wkhtmltoimage - http://code.google.com/p/wkhtmltopdf/ redis server - http://redis.io/ Gems: redis - https://github.com/ezmobius/redis-rb sinatra - http://www.sinatrarb.com/ Usage ----- 1. Generate thumbnails using: $ rake thumbnail HOST=<hostname> or $ rake thumbnail FILE=<file-with-list-of-hosts> 2. Clear database prior to maintenance: $ rake list:clear 3. Run up using passenger/thin/whatever 4. Export list of hosts/emails to contact $ rake list:all 5. Email users Credits: -------- Monitor image: Andy / Molumen - http://www.openclipart.org/detail/6977
About
Nice error pages for when a site (or set of sites) is undergoing maintenance.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published