Getting Started

Setup Skote

We are using Angular CLI is a command-line interface tool that you use to initialize, develop, scaffold, and maintain Angular applications directly from a command shell.

Prerequisites:

Please follow the below steps to install and setup all prerequisites:

  • Nodejs

    Make sure to have Node.js installed & running on your computer. If you already have installed Node on your computer, you can skip this step if your existing node version is greater than 18. We suggest you to use LTS version of Node.js.

  • NPM

    Make sure to have the NPM installed & running on your computer. If you already have installed NPM on your computer, you can skip this step.

     npm install -g npm  
  • Angular CLI

    Make sure to have the Angular cli installed & running on your computer. Install it before start with the Angular app

     npm install --global @angular/cli@latest 
    Warning: If you have Angular CLI installed previously, update it to the latest Angular CLI. Remove the older version and re-install it.
     npm uninstall --global @angular/cli 
     npm install --global @angular/cli@latest 
  • Git

    Make sure to have Git installed globally & running on your computer. If you already have installed git on your computer, you can skip this step.
    To install in Linux OS please run the below commands.

    sudo apt-get update
    sudo apt-get install git  

After you finished with the above steps, you can run the following commands into the terminal/command prompt from the root directory (Skote_*/HTML/ ) of the project to run the project locally or build for production use:

Install the Angular local project dependencies by executing following commands:

This command will clear your old cached node_modules.

npm clear cache --force  

This command will install the dependencies in the local node_modules folder. By default, npm install --legacy-peer-deps will install all modules listed as dependencies in package.json.

npm install --legacy-peer-deps  

This command launches the server, watches your files, and rebuilds the app as you make changes to those files. Using the --open (or use -o) option will automatically open your browser on http://localhost:4200/. This command will take some time to finsh. Please wait for it to complete.

ng serve  

For more detailed information to install the Angular application, visit this official Angular documentation website.

© Skote.