GoogleChromeLabs/ProgressiveWordPress
关于
基于 WordPress 的渐进式 Web 应用示例
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Progressive WordPress (PWP)
A Sample WordPress-based Progressive Web App.
Local Development
Setup
Theme
Install all the dependencies (use Node 8 or newer)
$ npm install
and build the theme
$ npm run build
For continuous builds, run
$ npm 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.
$ docker pull surma/progressivewordpress # if you don’t want to build locally
$ docker-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:
- point
surmblog.devto127.0.0.1using/etc/hosts - trust the certficiate in caddy/certs
- navigate to
https://surmblog.dev:8443instead
Once installed, make sure to enable the theme “surmblog” and set the permalink style to “Post name”.
Apache 2.0
探索相关项目
加载中…