RSS Amplifier

BenLimmer.com · Apr 22, 2015

Install an Ember Addon from GitHub

0
Sign in to vote or save

Ben Limmer · BenLimmer.com

Posted on April 22, 2015 by Ben Limmer Avatar image of Ben Limmer

Most of the time you need to install an Ember Add-On, you’ll use the latest-and-greatest released version of that add-on. To do that, you’ll use the simple command:

ember install <addon-name>

However, sometimes you’ll want to test against a specific branch, or commit from an add-on’s GitHub project. Luckily, this is easy to do with ember-cli.

  • Grab the https repository url from GitHub
  • ember install it:

    ember install https://github.com/<repo-username>/<repo-name>.git

If your repo is private, and you need to access it via ssh, use this syntax:

  • Grab the ssh repository url from GitHub

  • ember install it:

    ember install git+ssh://git@github.com:<repo-username>/<repo-name>.git#<optional-branch>

You’re done. Enjoy!

Read the original on benlimmer.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.