Skip to content

Latest commit

 

History

History
47 lines (24 loc) · 1.02 KB

README.md

File metadata and controls

47 lines (24 loc) · 1.02 KB

ng-wordpress

An Angular application skeleton for building dynamic websites on top of the WordPress REST API v2.

Pre-alpha! Use at your own risk.

Get started

Prerequisites

Installation

git clone https://github.com/peterhartree/ng-wordpress.git . -o upstream

npm install

bower install

You'll also want the companion WordPress plugin. From your WordPress plugin directory, run:

git clone https://github.com/peterhartree/ng-wordpress-plugin.git ngwp

Then activate the plugin via the WordPress dashboard.

To learn what this plugin does, see here.

Configuration

Open app/settings.js and set your baseURL.

Development

Run sh dev

Build

Run sh build

Testing

Running grunt test will run the unit tests with karma.

Get updates

Run sh update