Skip to content

jakearchibald/trained-to-thrill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Instructions:

  1. Open Chrome Canary
  2. Click the above link
  3. Check the console for ◕‿◕ to confirm a service worker was registered
  4. Refresh the page - you're now running offline-first!
  5. Turn off your network connection via wifi or Chrome DevTools Device Mode
  6. Reload the page! OMG STILL WORKS!!!1
  7. Read the service worker source js

Hack on the code

Prerequisites

  • Node
  • Ruby - required for…
  • Sass gem install sass (>=3.3 required)

Then clone this repo & run:

npm install

Running

npm start

The server will be running at http://localhost:3000/trained-to-thrill/