0.1.2 • Published 7 years ago

ember-cli-wordpress v0.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

ember-cli-wordpress Build Status

Helps you connect your Ember application to a Wordpress site through the standard WP API.

Demo

My personal website: Real live demo: https://bajcmartinez.com Git repository: https://github.com/bajcmartinez/bajcmartinez.com

Dummy in-repo App:

How to use

Make sure you're using ember-cli and ember data > 2.

  1. ember install ember-cli-wordpress
  2. ember install ember-get-config
  3. Define the address to your Wordpress install as wordpressHost in config/environment.js

Example:

var ENV = {
  ...
  APP: {
    // Here you can pass flags/options to your application instance
    // when it is created
    wordpressHost: 'http://example.com'
  }
  ...
}

The super cool models

Out of the box we provide you models for

  • post
  • category
  • tag
  • user

Questions? Need help?

I just started this project, and there is still a long way to go, but the addon is working and I'll maintain the tests updated. Please if you have anny uses report them on https://github.com/bajcmartinez/ember-cli-wordpress/issues so I can help you fixing it!.

Running

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.