Download and install the following software:
- Node.js on Ubuntu/Windows
- Code editor
- Visual Studio Code (VSCode) (official Link)
- IntelliJ Ultimate Ubuntu/Windows
- Git on Ubuntu/ Windows
- Github Desktop on Ubuntu/Windows
- If you have GitHub Desktop installed
- Clone the repository by clicking the green
Code
button and thenOpen with GitHub Desktop
. - Select the location where you want to clone the repository and click the
Clone
button.
- Clone the repository by clicking the green
- Open a terminal and type the command below to clone the repository.
git clone https://github.com/shoebjoarder/angular-hands-on
-
Open the project using a code editor.
-
In VSCode, click
Terminal
menu from the top menu and clickNew 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
ornpm install --force
command.
- If you get an error, try typing the
-
Run the following command in the terminal to start the server.
ng serve
-
Click this link to open the application using your default browser.