No description, website, or topics provided.
Clone or download

README.md

General Assembly Logo

ember-template

A template for starting lessons with Ember as a client. Build pipeline and development server provided by ember-cli. Bootstrap and Sass included.

Note This is not a project template.

Updating Dependencies

At the beginning of each cohort update package.json:

npm

  • replace all dependent package versions in package.json with a glob (*).
  • rm -r node_modules.
  • npm update --save.
  • npm update --save-dev.
  • npm install

Dependencies

Install build dependencies with npm install. If you have not installed phantomjs, you will need to install it globally: npm install --global phantomjs-prebuilt

At the beginning of each cohort, update this template by upgrading ember-cli and generating a new Ember application in another location. Copy files over a handful at a time and check diffs.

Structure

Build dependencies are stored in package.json.

Do not configure grunt packages directly in the Gruntfile.js. Instead, store configurations in the grunt directory. You won't need a top-level key, since that's generated by the Gruntfile.js based on the filename of the configuration object stored in the grunt directory.

Tasks

Developers should run these often!

  • grunt nag or just grunt: runs code quality analysis tools on your code and complains
  • grunt reformat: reformats all your code in a standard style
  • ember server: generates bundles, watches, and livereloads (use the --proxy flag when developing locally)
  • ember test: runs any automated tests
  • ember build: prepare a distribution for deployment (use the --environment flag if you've customized builds)
  • ember generate: make use of the many generators for code (try ember help generate for more details)

Additional Resources

License

  1. All content is licensed under a CC­BY­NC­SA 4.0 license.
  2. All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact legal@ga.co.