An Angular application skeleton for building dynamic websites on top of the WordPress REST API v2.
Pre-alpha! Use at your own risk.
- Until the REST API makes it into core, you'll need the latest stable version of the WordPress REST API v2 plugin.
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.
Open app/settings.js and set your baseURL.
Run sh dev
Run sh build
Running grunt test
will run the unit tests with karma.
Run sh update