Skip to content

Build and Run

msaltnet edited this page Aug 6, 2020 · 3 revisions

T.Viewer use Electron, Vuetify and Ace Editor.

Prerequisites

In order to download necessary tools, clone the repository, and install dependencies via yarn or npm you need network access.

You'll need the following tools:

  • Git
  • Node.JS
  • Yarn or NPM

Install and build all of the dependencies using NPM:

cd T.Viewer
npm install

Build

To test the changes you launch a development version of T.Viewer on the workspace T.Viewer, which you are currently editing.

cd T.Viewer
npm run serve

To create excutable production.

cd T.Viewer
npm run build

Build Result

Lints and run unit test

To verify source code, run test by bellow command simply.

npm run test

Unit Testing

Run the tests directly from a terminal by running npm run test:unit from the T.Viewer folder.

Test Result

Linting

We use eslint for linting our sources. You can run eslint across the sources by calling npm run lint from a terminal or command prompt.

To lint the source as you make changes you can install the eslint extension.

Continuous Integration

travis-ci T.Viewer is working with the repository.

T.Viewr Travis CI