gauntface Merge pull request #86 from kenrick95/master
Replace broken link to web-push codelab
Latest commit 1302972 Oct 30, 2017

Build Status


Greenkeeper badge

A book on implementing push notifications in a web site / web app (Whatever you want to call it).

This is in extremely early stages (i.e. me just dumping down thoughts without proof reading or much focus), so if you spot or have feedback please raise an issue (or better yet, a pull request) and I'll do my best to address it when I can.

Otherwise get early access here.

Cheers, Matt

Running Node Demo

If you wish to run the node demo you'll first need to ensure you have the NPM dependencies installed:

npm install

Then start the node app by running:

node src/demos/node-server/index.js

Running Site Locally

If you want to run the site locally you'll need to install a number of dependencies for Jekyll and NPM.

  • Install RVM
  • rvm install ruby-2.2.0
  • gem install bundler
  • rvm . do bundle install
  • npm install

To run the site, you need to run gulp.


Note: Inlining Code

This repo uses a regex to inline code snippets into the docs.

To inline the contents of a whole file, use the following markup:

<% include('../../code-samples/example.js') %>

To incline a snippet of code, use the following markup:

<% include('../../code-samples/example.js', 'snippet-name') %>

This will be run before pandoc is used to generate the book.

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.