Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

aurelia-nw

NW.js (nodewebkit) app with Aurelia

##Requirements

Node must be installed. jspm must be installed (npm install -g jspm).

Running The App

To run the app, follow these steps.

  1. Ensure that NodeJS is installed. This provides the platform on which the build tooling runs.
  2. From the project folder, execute the following command:
npm install
  1. Ensure that Gulp is installed. If you need to install it, use the following command:
npm install -g gulp
  1. Ensure that jspm is installed. If you need to install it, use the following command:
npm install -g jspm

Note: jspm queries GitHub to install semver packages, but GitHub has a rate limit on anonymous API requests. It is advised that you configure jspm with your GitHub credentials in order to avoid problems. You can do this by executing jspm registry config github and following the prompts.

  1. Install the client-side dependencies with jspm:
jspm install

Note: Windows users, if you experience an error of "unknown command unzip" you can solve this problem by doing npm install -g unzip and then re-running jspm install.

  1. To run the app, execute the following command:
gulp

Changes inside the src folder will be watched and recompiled - use the reload button in the NW.js toolbar to refresh the app afterwards.

Running The Unit Tests

To run the unit tests, first ensure that you have followed the steps above in order to install all dependencies and successfully build the library. Once you have done that, proceed with these additional steps:

  1. Ensure that the Karma CLI is installed. If you need to install it, use the following command:
npm install -g karma-cli
  1. Install Aurelia libs for test visibility:
jspm install aurelia-framework
jspm install aurelia-http-client
jspm install aurelia-router
  1. You can now run the tests with this command:
karma start

or via gulp with this command:

gulp test

Building for Production

  1. Verify the target platforms on the nwBuilderConfig.platforms property in gulp\config.js
  2. Build a release version of all specified platforms with this command:
gulp build-release --release --bump minor

Where the value of bump can be major, minor, patch, or prerelease (defaults to patch)

About

NW.js (nodewebkit) app with Aurelia

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.