Skip to content

Latest commit

 

History

History
94 lines (60 loc) · 1.78 KB

dev_setup_windows.md

File metadata and controls

94 lines (60 loc) · 1.78 KB

Windows: Dev Setup

Dependencies

  • NodeJS
  • Angular
  • Primeng
  • Marked
  • Primeflex
  • Primeicons
  • Yarn
  • CodeColosseum

Installation

Warning: run all the commands in the CodeColosseumDesktop directory for a successful installation.

NodeJS

Install NodeJS from this link (NodeJS download) on your computer.

PowerShell command

To see if there are any updates for NodeJS run this command

     ng update

then follow the instructions to update the packages.


Install modules:

  • Router

     ng add @angular/router
  • Primeng

     npm install primeng --save --force
  • Primeflex

     npm install primeflex --save --force
  • Primeicons

     npm install primeicons --save --force
  • Marked

     npm install marked --save --force
     npm i -save-dev @types/marked --force

If you have the vulnerability in npm fix them with this command:

    npm audit fix

after this retry to install modules.

Yarn

  npm install -g yarn
  yarn install

Install CodeColosseum

Installing Code Colosseum is similar to TALight, but remember to edit the commands appropriately for Cod Colosseum. Also, CodeColosseum only has the release version and the coco and cocod commands.

Last step

Install Google Chrome and Visual Studio Code on your computer.

Start the program with command "ng server" in the run and debug section and "cocod" from the bash installed with git.

Warning: if the program does not work properly, delete the "yarn.lock" file and restart the installation.