Skip to content

shoebjoarder/angular-hands-on

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Angular Hands-on

🚀 Get Started

Step 1: Pre-requisites

Download and install the following software:

  • Node.js on Ubuntu/Windows
    • Preferred to install Node Version Manager (NVM) for Ubuntu/Windows.
    • Open a terminal and then type nvm install 20.17.0 to install Node.js v20.17.0
    • Then type nvm use 20.17.0 to use the Node.js v20.17.0 to install node packages
  • Code editor
  • Git on Ubuntu/ Windows
  • Github Desktop on Ubuntu/Windows

Step 2: Clone the repository

  • If you have GitHub Desktop installed
    • Clone the repository by clicking the green Code button and then Open with GitHub Desktop.
    • Select the location where you want to clone the repository and click the Clone button.
  • Open a terminal and type the command below to clone the repository.
    git clone https://github.com/shoebjoarder/angular-hands-on

Step 3: Install dependencies and run the application

  • Open the project using a code editor.

  • In VSCode, click Terminal menu from the top menu and click New Terminal.

  • Switch between branches to view the different topics. Type git checkout <branch_name> in the terminal to switch between the branches. Remember to replace <branch_name> with the actual branch name, e.g.,

    git checkout 1-angular-1-hands-on-template
  • Open a terminal and install Angular CLI (if not installed)

    npm install -g @angular/cli
  • In the same terminal and type the following command to install the node packages.

    npm ci
    • If you get an error, try typing the npm install or npm install --force command.
  • Run the following command in the terminal to start the server.

    ng serve
  • Click this link to open the application using your default browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published