# ember-panda-adapter This `ember-panda-adapter` addon has as task to deliver shared functionality to ember applications that are not necesarily panda, but integrate with panda through for example a shared platform. This addon assumes that the `ember-cli-dunlop` addon is used. Tasks this addon does: * integrate with the panda-adapter backend ruby gem (TODO) * deliver a component that allows to asynchroneously lookup workflow action info based on a known identifier ## Installation * `git clone ` this repository * `cd ember-panda-adapter` * `npm install` * `npm link ember-cli-dunlop` and add to package.json and maybe after other npm installs * `ember install ember-data@2.16.3` * `ember install ember-cli-coffeescript` * `ember install ember-cli-emblem` * `ember install ember-get-config` * `ember install ember-simple-auth` * `ember install semantic-ui-ember` * `ember install ember-semantic-ui-calendar` * `ember install active-model-adapter` * `ember install ember-cli-moment-shim` * `ember install ember-cli-sass` (cp ../ember-cli-dunlop/tests/dummy/app/styles/semantic-ui-additions.sass tests/dummy/app/styles/) ## Setting up the dummy app * Make sure that the globals are loaded (dunlop pattern) * `mkdir tests/dummy/app/initializers/` * `cp ../ember-cli-dunlop/tests/dummy/app/initializers/globals.coffee tests/dummy/app/initializers/` * Since the "".htmlSafe() pattern is used and a long search why this is no longer working lead to the knowledge of the existence of the `ember-disable-prototype-extensions` package that was added to the `package.json` ## Adding it to a non panda ember client application that wants to interact with panda features * Clone the repository * cd to directory * `npm link .` (create a local npm link) * cd to the ember application you want to add this code to * `npm link ember-panda-adapter` * Add `"ember-panda-adapter": "^0.0.0",` to `package.json` * Last step: **suggest a better npm method than this recipe!** ## Running * `ember serve` * Visit your app at [http://localhost:4200](http://localhost:4200). ## Running Tests * `npm test` (Runs `ember try:each` to test your addon against multiple Ember versions) * `ember test` * `ember test --server` ## Building * `ember build` For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).