Skip to content

10up/nodeifywp-environment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeifyWP Environment

NodeifyWP is a framework that let's you create isomorphic JavaScript applications with WordPress and PHP. The framework relies on the PHP extension V8JS and Google V8 which can be time consuming to install and optimize. This repository contains a Dockerized environment for running NodeifyWP WordPress applications.

Requirements

Setup

The project contains a fully-fledged Docker based environment. Ensure your machine meets the project requirements before following these steps.

  1. Clone the repository. From the root, run the following in the command line:

composer install

This installs WordPress, Twenty Sixteen React, a NodeifyWP theme, and a few debug plugins. 2. From the root of the repository, run the following in the command line:

docker-compose up

This starts up the environment. This may take awhile the first time as you need to download the Docker images. 3. In your browser navigate to http://localhost 4. Run through WordPress install steps. Here is the database information you'll need to use:

  • MySQL Host: mysql
  • Database Name: wordpress
  • Database Username: root
  • Database Password: password
  1. Activate the Twenty Sixteen React theme and NodeifyWP plugin.
  2. From within the Twenty Sixteen React theme, run the following command:

npm install

  1. Ensure pretty permalinks are enabled.

Environment

The project environment contains the following:

  • PHP-FPM 7
  • Nginx
  • Redis
  • MariaDB

By default the project includes Redis for caching but does not instruct WordPress to do anything with it. If you want caching, you'll need the drop-ins, WP Redis and Batcache.

License

This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

About

Dockerized environment for NodeifyWP applications.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published