Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

hedgeserv/ember-table-addon-demo-app

Repository files navigation

ember-table-addon-demo-app

Build Status

Demo app for our fork of Addepar's ember-table

Build Prerequisites

Build script (skip down to Running/Development if using this option)

You can run install-dependencies.sh [Path] instead of manual installation

Parameter [Path]:

  • If you use it by local, path should equal your project parent path. Such as "~/GitHubProject/HedgeServ" (Note: ember-table and ember-table-addon-demo-app should in same folder)

  • If you use it by Jenkins, path should equal Jenkins project parent path. Such as "/Users/hedgebeijing/.jenkins/workspace"

Build manual

You will need the following things properly installed on your computer.

Npm link for ember-table-addon (for reuse later)

Your will need to make our fork of ember-table locally available. Clone that project too, to an adjacent directory.

Change into the ember-table directory, and link it:

  • cd ../ember-table && npm link

Installation (and using the link above)

Ensure you're cd'd to the cloned ember-table-addon-demo-app working-copy directory

  • npm link ember-table
  • npm install (installing server-side modules locally)
  • bower install (installing client-side modules locally)

Running / Development

  • ember serve
  • Visit http://localhost:4200 for a list of links to demonstrations of all of the features added on top of out-of-the-box ember-table

Running Ember Tests

  • ember test (runs tests with phantomjs and just reports a pass/fail)
  • ember test --server (runs tests with chrome and just reports a pass/fail)

Running Webdriver Tests with lettuce in BDD

You will need to install required Python package and download chrome driver

  • download chrome driver for mac
  • put chromedriver on system path
  • ember serve -e ci
  • pip install -r python-webdriver-tests/requirements.txt
  • lettuce python-webdriver-tests/features --tag complete --with-xunit
  • if you want to generate report as .xml file, please use lettuce python-webdriver-tests/features --tag complete --with-xunit

Building

  • ember build (development)
  • ember build --environment production (production)

upgrading ember-cli

  • npm uninstall -g ember-cli

  • npm cache clean

  • bower cache clean

  • npm install -g ember-cli@1.13.8

  • rm -rf node_modules bower_components dist tmp

  • npm install

  • bower install

  • re-link ember-table npm link ember-table

  • please refer to: ember-cli-upgrading

Continuous Integration

Run ember tests and python tests

  • sh test-ci.sh

Travis and Jenkins

  • TBD: update .travis.yml to install ember-table-addon as npm link first
  • TBD: verify compatibility with Jenkins
  • TBD: integrate python webdriver tests

Deployment

  • ember build --environment production

Further Reading / Useful Links

Developer Tips

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published