2018-06-25 12:49:49 +02:00
2018-06-24 12:01:25 +02:00
2018-06-24 12:01:25 +02:00
2018-06-24 12:01:25 +02:00
2018-06-24 12:01:25 +02:00
2018-06-24 12:01:25 +02:00
2018-06-25 00:00:37 +02:00
2018-06-24 12:01:25 +02:00
2018-06-25 12:49:49 +02:00
2018-06-24 12:01:25 +02:00
2018-06-24 12:01:25 +02:00
2018-06-24 12:01:25 +02:00
2018-06-24 12:01:25 +02:00

WordPress Backend

The wordpress folder contains the plugin dependencies and the Saburly Headless theme. You can add them to your existing development environment. Or if you want to install WordPress and a full dev environment, you can use the scripts from this repository. In that case, make sure you have all the required software installed for your operating system.

Prerequisites

  • OS X: You'll need Homebrew and Yarn installed.
  • Windows: To install under Windows you need to be running the 64-bit version of Windows 10 Anniversary Update or later (build 1607+). The Linux Subsystem for Windows should be installed and enabled before proceeding. Then, you'll need the prerequisites for Ubuntu Linux, detailed below, set up.
  • Ubuntu Linux: You'll need the latest version of NodeJS, Yarn and debconf-utils installed first. Follow this simple guide to get the latest version of NodeJS installed. Install the rest of the packages using the apt-get package manager. Note: During the WordPress installation, you may be asked to enter the root password at the prompt due to the use of the sudo command

Install

The following command will get WordPress running locally on your machine, along with the WordPress plugins you'll need to create and serve custom data via the WP REST API.

> yarn install && yarn start

When the installation process completes successfully:

Manual install

You can replace the wordpress folder

Frontend

The contains frontend is stored in a separate repository in Gitlab.

Description
Wordpress as CMS with Headless theme that outputs only the necessary REST API. The frontend consuming it is in a separate project.
Readme 4 MiB
Languages
PHP 83.6%
JavaScript 11.7%
CSS 4.3%
Shell 0.2%
SCSS 0.2%