0.13.2 • Published 5 years ago

@phille/ember-base v0.13.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

CircleCI

ember-base

This addon provides a common base of functionality for Etison Ember apps. The main functionality is provided via blueprints: a default blueprint that runs when the addon is first installed (which takes your blank ember new scaffold and brings it up to the Etison app standard), and a set of generator blueprints (i.e. ember g component) which will generate boilerplate that reflects the Clickfunnels style guide.

Installation

  1. $ ember install @etison/ember-base

    a. Override the README.md file

    b. Override the .gitignore file

    c. Do not override the tests/blanket-options.js file

    d. Override the config/deploy.js file the first time when asked

    E. Do not override the config/deploy.js file the second time when asked

  2. Modify the bower.json file to lock down the dependency versions.

  3. Move the ember-get-config entry in the package.json file to dependencies from devDependencies.
  4. Delete the .travis.yml file
  5. The multiple CLOUDFRONT_DISTRIBUTION_ID values in the Makefile file should be populated with appropriate values.
  6. The multiple S3_BUCKET values in the Makefile file should be confirmed for accuracy.
  7. Follow the instructions in the "Configuration" section of the README.md file
  8. Replace the <TOKEN> string in the README.md file for the CircleCI badge.
  9. Modify the mirage/config.js file to import the Mirage configuration from ember-base and add its configuration to the application's, such as below:
import { authentication } from 'ember-auth/mirage/config';

export default function() {
  authentication(this);
}

Usage

The default blueprint will run automatically when you install the addon for the first time. If you are upgrading to a newer version of this addon, make sure you run the ember-base blueprint after updating the package.

The rest of the available blueprints are available via $ ember g <blueprint name>.

What's included

CI Setup

Default circle.yml file is included, which offers a good starting point for configuring your app's build pipeline.

Styles

The default Clickfunnels styles are automatically injected into the consuming app.