@phille/ember-base v0.13.2
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
$ 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
Modify the bower.json file to lock down the dependency versions.
- Move the
ember-get-config
entry in the package.json file todependencies
fromdevDependencies
. - Delete the .travis.yml file
- The multiple
CLOUDFRONT_DISTRIBUTION_ID
values in theMakefile
file should be populated with appropriate values. - The multiple
S3_BUCKET
values in theMakefile
file should be confirmed for accuracy. - Follow the instructions in the "Configuration" section of the README.md file
- Replace the
<TOKEN>
string in the README.md file for the CircleCI badge. - 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.