2.3 KiB
2.3 KiB
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 <repository-url>this repositorycd ember-panda-adapternpm installnpm link ember-cli-dunlopand add to package.json and maybe after other npm installsember install ember-data@2.16.3ember install ember-cli-coffeescriptember install ember-cli-emblemember install ember-get-configember install ember-simple-authember install semantic-ui-emberember install ember-semantic-ui-calendarember install active-model-adapterember install ember-cli-moment-shimember 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-extensionspackage that was added to thepackage.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",topackage.json - Last step: suggest a better npm method than this recipe!
Running
ember serve- Visit your app at http://localhost:4200.
Running Tests
npm test(Runsember try:eachto test your addon against multiple Ember versions)ember testember test --server
Building
ember build
For more information on using ember-cli, visit https://ember-cli.com/.