Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peopleware/js-ppwcode-enumeration-demo
https://github.com/peopleware/js-ppwcode-enumeration-demo
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/peopleware/js-ppwcode-enumeration-demo
- Owner: peopleware
- License: apache-2.0
- Created: 2014-03-21T10:22:30.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-11T12:46:30.000Z (about 10 years ago)
- Last Synced: 2024-04-14T13:04:54.364Z (7 months ago)
- Language: JavaScript
- Size: 2 MB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.TXT
Awesome Lists containing this project
README
js-ppwcode-enumeration-demo
===========================Getting started
---------------
This project is defined with submodules.
To download the submodules, use the literal git commands:> git submodule init
> git submodule updateThis will download all needed submodules into `src/lib/`.
Structure
---------
The main project files, with their associated tests, are located in
the `src/app` directory.The `src/app/viewmodel` defines the enumeration that is demoed.
The `src/app/widget` contains some widgets to visualize
the enumeration in the demo application.The `src/app/_test` contains the unit test configuration and
starting point.Tests
-----
### DOH
When the submodules are downloaded, the DOH tests should work out
of the box when you navigate your browser to
`src/app/_test/_doh/runTest.html`.
Make sure to run the tests on a web server.### Intern
#### Setup:
* install node on your system from
* execute in this directory (i.e., the directory of this README):> npm install intern --save-dev
This will install the necessary node modules in `./node-modules`.
#### Run in browser
The Intern tests should work when you navigate your browser to
`src/app/_test/_intern/runTest.html`.
Make sure to run the tests on a web server.#### Run in NodeJS
The tests can also be run using NodeJS.To run the tests, execute the following command in the root
directory:> node node_modules/intern/client config=src/app/_test/_intern/intern
Demo application
----------------
You can open de demo application by opening `src/index.html` in a
browser. Make sure to run it on a web server.