EBO test front end client for development against.
To fully utilise some aspects of this project, such as end-to-end testing and auto parsing, a few pieces of third-party software are needed. The project will run on port 32879
so ensure that this port is available on your system.
Download and install Node and NPM (NPM is included in the Node.js Package) for your platform from the Node.js website.
One (or more) of the packages we utilise in this project relies upon a cross-platform development script: node-gyp. In a Windows environment, this script requires a .NET framework to be installed and Python v2.7.3
. Information on this can be found at the node-gyp Github page.
For convenience we have provided the links below:
The following applications need to be installed globally.
The easiest way to install these programs is by pasting the line below into your command prompt / terminal. Note: these scripts must be installed using elevated privileges. In Windows this can be acheived by opening Command Prompt in Administrator Mode. In Mac / Unix environments use the variant of sudo
that suits your system.
npm install -g gulp bower browser-sync protractor
The following commands should be run in your Command Prompt / Terminal from within the directory that you extracted the repository
Firstly use NPM to install the node module dependencies:
npm install
Then use Bower to install it's dependencies:
bower install
You can use the Gulp commands to build the app:
gulp
And to run it in development mode:
gulp serve
Full e2e live automated testing is available through
gulp pro:all
This will allow BrowserSync to update your test environment and run unit tests & e2e tests when Gulp notices changes in source files.