Giter Club home page Giter Club logo

gpii-app's Introduction

GPII Application Wrapper

gpii-app is an Electron-based application wrapper for the GPII autopersonalization system.

It currently only supports Windows.

Using a Windows VM

It is possible to provision a Windows VM for development and testing purposes. Please ensure you have met these VM requirements before proceeding.

Creating and removing the VM

After that you can use the vagrant up command to create an instance of a Windows 10 Evaluation VM which will boot an instance of the Windows 10 VM, pull in the GPII Framework's npm dependencies, and then build it. Once it has finished building, either restart the VM, or open a Command Line or PowerShell and type the following command inside the VM: refreshenv

If this is your first time creating this VM an 8 GB download will take place. The downloaded image will be valid for 90 days after which the Windows installation will no longer be useable. To remove an expired image you can use the vagrant box remove "inclusivedesign/windows10-eval" command.

Running the application

Now you can open a command prompt window and use the following commands to run the GPII app:

cd c:\vagrant\
npm start

Alternatively, running the application in development mode will give you a list of snapsets in the task tray menu:

npm run dev

Running the Tests in a VM

Ensure that your virtual box is up and running, then open a terminal (in the VM), go to the folder with gpii-app and run the test script:

cd v:\
npm test

This will also instrument the code and generate a coverage report in the reports subdirectory. If you want to run the tests without collecting code coverage data, you can use commands like the following instead:

cd v:\
npm run test:noCoverage

gpii-app's People

Contributors

georgitodorov avatar danailbd avatar javihernandez avatar michelled avatar amb26 avatar stegru avatar the-t-in-rtf avatar gloob avatar sgithens avatar cindyli avatar colinbdclark avatar

Watchers

Kasper Markus avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.