This Ember-cli app provides an Ember.js frontend for a Wordpress backend.
You will need the WP-API plugin installed on your Wordpress site in order to expose a RESTful API to use in your Ember app.
You will also need the following things properly installed on your computer.
git clone <repository-url>
this repository- change into the new directory
npm install
bower install
- Modify
config/environment.js
to add your Wordpress API endpoint and namespace
// config/environment.js
ENV.wordpress = {
host: "http://<your-wordpress-api.com>",
namespace: "wp-json"
};
ember server
- Visit your app at http://localhost:4200.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
ember build
(development)ember build --environment production
(production)