This is the web user interface part of the Ancilla project. Built using the framework Aurelia the purpose is to create a fully customizable and free solution to handle the Ancilla UI.
Please be aware this is just an experimental version used to test technologies and solutions; it's still far from being the final result
Any idea or contribution is welcome!
TODO
To run the app, follow these steps.
- Ensure that NodeJS is installed. This provides the platform on which the build tooling runs.
- Clone a copy of the main Ancilla Web UI git repo by running:
git clone https://github.com/KingRial/Ancilla-WebUI.git
- From the project folder, execute the following command:
npm install
- Ensure that Gulp is installed. If you need to install it, use the following command:
npm install -g gulp
- 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. Note: Windows users, if you experience an error of "unknown command unzip" you can solve this problem by doingnpm install -g unzip
.
- Ensure that http-server is installed. If you need to install it, use the following command:
npm install -g http-server
- To run the app, execute the following command:
http-server -o
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:
- Ensure that the Karma CLI is installed. If you need to install it, use the following command:
npm install -g karma-cli
- You can now run the tests with this command:
karma start
Integration tests are performed with Protractor.
-
Place your E2E-Tests into the folder
test/e2e/src
-
Configure the path to the webdriver by opening the file
protractor.conf.js
and adjusting theseleniumServerJar
property. Typically its only needed to adjust the version number. -
Run the E2E-Tests
gulp test-e2e
- Administration tools
- Developer tools
- Branding and full Customization
See Aurelia License