Module that predicts unbiased branches implemented with Angular 2 and PrimeFaces. The branch is also implemented with Electron.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
e2e
src
.editorconfig
.firebaserc
.gitignore
LICENSE
README.md
angular-cli.json
database.rules.json
firebase.json
karma.conf.js
package.json
protractor.conf.js
tslint.json

README.md

Unbiased branch prediction simulator

Module that detects difficult to predict (unbiased) branches implemented with Angular 2.

Prerequisites

Both the CLI and generated project have dependencies that require Node 4 or higher, together with NPM 3 or higher. Download it from https://nodejs.org/en/download/

Getting started

Make sure you have the latest versions of node and npm If you have installed angular-cli

npm uninstall -g angular-cli
npm cache clean
npm install -g angular-cli@latest

Clone the repository, install the dependencies, and run the server

git clone https://github.com/razvantomegea/branch-prediction-simulator.git
cd branch-prediction-simulator
npm install
ng serve

Development server

After running ng serve, navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate component/directive/pipe/service/class/enum/interface.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.