This README outlines the details of collaborating on this Ember addon.
git clone
this repositorynpm install
bower install
ember server
- Visit your app at http://localhost:4200.
ember test
ember 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 link
will 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-gdrive
folder inside thenode-modules
folder. 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-cli
addons 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-gdrive
would not be as straightforward to link. - For the
npm link
command to work, the console process needs to be run with administrative privileges.