GoogleChromeLabs/ProgressiveWordPress

Name: ProgressiveWordPress

Owner: GoogleChromeLabs

Description: A Sample WordPress-based Progressive Web App

Created: 2017-05-24 15:31:58.0

Updated: 2018-05-24 08:04:34.0

Pushed: 2018-05-22 01:28:46.0

Homepage: https://pwp.dassur.ma

Size: 25533

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Progressive WordPress (PWP)

A Sample WordPress-based Progressive Web App.

Local Development
Setup
Theme

Install all the dependencies (use Node 8 or newer)

m install

and build the theme

m run build

For continuous builds, run

m run watch
Docker

The Docker setup is a network consisting of Caddy, Apache2/PHP7 and a MySQL container. The image for the Apache2/PHP7 container is based on the official Wordpress Docker image. It is also published to the Docker Hub if you don?t want to build locally. WordPress also needs a MySQL server for which the official MySQL Docker image is used. Caddy is added to the mix for easy local HTTP/2 development.

cker pull surma/progressivewordpress # if you don?t want to build locally
cker-compose up -d

The WordPress install wizard is now available at http://localhost:8080. If you want to use HTTP/2 during development, you have to:

Once installed, make sure to enable the theme ?surmblog? and set the permalink style to ?Post name?.


Apache 2.0


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.