- 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.
- Clone the repo
git clone git@github.com: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.
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