Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

Lab Setup Guide

  • Create VM (optional)
  • Install software
  • Fork & Clone Class Repo and set Github requirements

Create VM - optional

Execute create-lab-vm.sh or run the following remote script in Cloud Shell

curl https://raw.githubusercontent.com/arambazamba/ng-dev/main/Setup/create-lab-vm.sh | bash

create-labvm

Note: In order for Docker to work on a Windows 10 host you need to install Hyper-V or use Windows Subsystem for Linux 2 (WSL2). A detailed Setup Guide can be found here

Connect to VM

Go to Ressource Group ng-dev and connect to VM using RDP and the credentials that you have used in the script:

Download RDP File:

download-rdp

Optional - Disable Login:

disable-login

Sign In & Remember:

connect-rdp

Credentials:

user=ng-devlabadmin
pwd=Lab@dmin1233

sign-in.jpg

Accept Settings:

accept-settings

Install Software

Base Software Requirements:

To install an optimal software configuration run the script setup-angular-dev.ps1 from an elevated PowerShell prompt:

run-as

Set-ExecutionPolicy Bypass -Scope Process -Force;
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/arambazamba/ng-dev/main/Setup/setup-angular-dev.ps1'))

Note: This script will run for approx 15 min. No need to wait! In the meantime you can continue to fork and clone my repo as described in the next section.

Fork & Clone Class Repo and set Github requirements

Set User and E-Mail in order to be able to commit to git:

git config --global user.name "Your Name"
git config --global user.email "your.email@yourdomain.com"

Go to https://github.com/arambazamba/ng-dev and fork the repo

forking-wf

The forking-workflow allows you to commit your changes to your fork of the repo and still get updates on the repo

forking-wf

Clone Class Repo:

git clone https://github.com/Student01/ng-dev

Note: If you have forked the class repo clone your own fork, otherwise use https://github.com/ARambazamba/ng-dev