Skip to content
/ gpii-app Public

Electron application and libraries to run the GPII as a native user space application on the desktop.

License

Notifications You must be signed in to change notification settings

GPII/gpii-app

Folders and files

NameName
Last commit message
Last commit date
Jan 15, 2019
Mar 6, 2019
Mar 7, 2019
Nov 28, 2018
Mar 6, 2019
Dec 14, 2018
Mar 1, 2019
Jan 14, 2019
Nov 11, 2016
Jan 19, 2017
Jan 14, 2019
Oct 9, 2018
Aug 27, 2018
Dec 19, 2018
Jul 29, 2016
Aug 27, 2018
Nov 29, 2018
Aug 27, 2018
Aug 27, 2018
Jan 14, 2019
Mar 1, 2019
Feb 19, 2019
Oct 31, 2018
Nov 30, 2018

Repository files navigation

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

About

Electron application and libraries to run the GPII as a native user space application on the desktop.

Resources

License

Stars

Watchers

Forks

Packages

No packages published