Skip to content

Latest commit

 

History

History
86 lines (66 loc) · 1.75 KB

README.md

File metadata and controls

86 lines (66 loc) · 1.75 KB

CodeColosseumDesktop

This app in intended to be used as Graphic client for Code Colosseum
https://github.com/dariost/CodeColosseum

Functionalities

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 CodeColosseum server (cocod).

Dependencies:

  • Rust

  • NodeJS

  • TypeScript

  • Angular

  • Tauri

  • CodeColosseum

  • Rust

  sudo apt update
  sudo apt install libwebkit2gtk-4.0-dev \
      build-essential \
      curl \
      wget \
      libssl-dev \
      libgtk-3-dev \
      libayatana-appindicator3-dev \
      librsvg2-dev
  curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
  • NodeJS
  curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
  source ~/.bashrc
  nvm list-remote
  nvm install --lts
  • TypeScript
  npm install -g typescript

Angular

  npm install -g @angular/cli

CodeColosseum ( for the server )

  sudo apt install cargo
  source install_coco.sh
  ./cocod

Running the app

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

Install node dependencies (run once):

yarn install

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

yarn tauri dev

To build a "production" version, the build artifacts will be stored in the dist/ directory and the tauri builded version will be located in src-tauri/target folder.

yarn tauri build

This project was generated with Angular CLI version 13.3.5.