Giter VIP home page Giter VIP logo

progressivewordpress's Introduction

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.dev to 127.0.0.1 using /etc/hosts
  • trust the certficiate in caddy/certs
  • navigate to https://surmblog.dev:8443 instead

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


Apache 2.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.