10up/nodeifywp-environment

Name: nodeifywp-environment

Owner: 10up

Description: Dockerized environment for NodeifyWP applications.

Created: 2016-12-29 04:13:29.0

Updated: 2017-10-18 13:44:10.0

Pushed: 2016-12-31 00:48:42.0

Homepage:

Size: 21

Language: Nginx

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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:

  5. MySQL Host: mysql

  6. Database Name: wordpress

  7. Database Username: root

  8. Database Password: password

  9. Activate the Twenty Sixteen React theme and NodeifyWP plugin.

  10. From within the Twenty Sixteen React theme, run the following command:

    npm install

  11. Ensure pretty permalinks are enabled.

Environment

The project environment contains the following:

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.


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.