This README outlines the details of collaborating on this Ember addon.
git clonethis repositorynpm installbower install
ember server- Visit your app at http://localhost:4200.
ember testember test --server
ember build
In order to make development easier with the addon, on windows (and probably other operating systems in a similar fashion), we can make use of symbolic links to quickly 'deploy' ember-cli addons into a project that uses them.
- Navigate to addon root (in our case
ember-gdrive\\). npm linkwill add the folder into the global addon library under the folder name (ember-gdrive').- Navigate to project folder (in our case
storypad\\). npm link ember-gdrive. This will create a symbolic link to theember-gdrivefolder inside thenode-modulesfolder. Any change to ember-gdrive will automatically update here.
- Some sort of file watch might be necessary. It looks like changes I make do not really reflect until I stop the storypad application and then start it again via
ember-server. - Since
ember-cliaddons do not compile or build in any way and all it takes is to copy the folder's contents, this works especially well in this case. An addon that requires building, for instance the old version ofember-gdrivewould not be as straightforward to link. - For the
npm linkcommand to work, the console process needs to be run with administrative privileges.