Skip to content

FrancescoMasaia/TALightDesktop

 
 

Repository files navigation

TALightDesktop

Try the LIVE DEMO

This app in intended to be used as Graphic client for TALight
https://github.com/romeorizzi/TALight

Install

TODO: Download a binary release

Setup Development Environment

The project by default is intended to be used with Visual Studio Code.
The app is a client and in order to be used it requires to connect to instance of TALight server (tald).

Dependencies:

  • NodeJS
  • Yarn
  • TypeScript
  • Angular
  • Tauri
  • TALight

Using Install.sh

  ./install.sh
  source ~/.bashrc

Manually

  • General
  sudo apt update
  sudo apt install git curl
  • Rust
  sudo apt install cargo
  sudo apt install libwebkit2gtk-4.0-dev \
      build-essential \
      curl \
      wget \
      libssl-dev \
      libgtk-3-dev \
      libayatana-appindicator3-dev \
      librsvg2-dev
  • NodeJS
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | 
sh ~/.nvm/nvm.sh install --lts
  • Yarn
  npm install -g yarn
  • TypeScript
  yarn global add typescript

Angular

  yarn global add @angular/cli

TALight ( for the server )

  sudo apt install cargo
  source install_talight.sh
  • Project Dependencies
  yarn install

Running the app

From the main folder of the app ( same location as package.json )

Install node dependencies (run once):

npm install

To run the actuall app during development ( it autoreload when files are changed )
Then navigate to http://localhost:4200/

npm start 

internally it does "ng serve --open"

To create new components (ex: views )

ng generate component component-name

To build a "production" version, the build artifacts will be stored in the dist/ directory.

ng build

This project was generated with Angular CLI version 13.3.5.

Packages

No packages published

Languages

  • TypeScript 79.7%
  • HTML 11.2%
  • SCSS 7.6%
  • JavaScript 0.7%
  • Shell 0.6%
  • Python 0.1%
  • Rust 0.1%