A simple app for the PWA Workshop
Prerequisites
- Latest stable versions of
node
,npm
installed. - Static web server with SPA support:
- serve. Recommended and pre-configured.
- superstatic. Use this as a fallback option.
Installation
- Clone the repo
git clone [email protected]:webmaxru/pwatter.git
- Make sure you are on "workbox" branch:
git checkout workbox
- Install dependencies:
npm install
- Install "serve" dev webserver:
npm install serve -g
- Run the server inside "pwatter" directory:
serve
- Install Workbox CLI:
npm install workbox-cli --global
- 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