Skip to content

webmaxru/pwatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2005aa8 · Nov 22, 2018

History

40 Commits
Nov 22, 2018
Jul 30, 2017
Mar 15, 2018
Nov 22, 2018
Mar 15, 2018
Jul 30, 2017
Mar 14, 2018
Mar 16, 2018
Nov 16, 2018
Mar 15, 2018
Jul 30, 2017
Nov 16, 2018
Nov 16, 2018
Jul 30, 2017
Nov 16, 2018
Jul 30, 2017
Jul 30, 2017
Mar 16, 2018
Nov 21, 2018

Repository files navigation

A simple app for the PWA Workshop

Prerequisites

  1. Latest stable versions of node, npm installed.
  2. Static web server with SPA support:
  • serve. Recommended and pre-configured.
  • superstatic. Use this as a fallback option.

Installation

  1. Clone the repo
git clone [email protected]:webmaxru/pwatter.git
  1. Make sure you are on "workbox" branch:
git checkout workbox
  1. Install dependencies:
npm install
  1. Install "serve" dev webserver:
npm install serve -g
  1. Run the server inside "pwatter" directory:
serve
  1. Install Workbox CLI:
npm install workbox-cli --global
  1. Open the browser:
http://localhost:5000/ 

You should see the page with PWAtter header.

We are ready to start the workshop! Follow the trainer instructions.

If for some reasons global npm package installation is not an option for you, you can install and run "serve" locally:

npm install serve
node_modules/.bin/serve