The following steps need to be taken to prepare for the Angular Training.
(Press '>' in the bottom right corner to continue...)
Download and install git from https://git-scm.com/downloads
After the installation the git bash (bash emulator for Windows) should be availabe
If you open the bash and call git --version the according version should be displayed
Now you can navigate a folder of your choice using the bash
Please enter the following commands to clone the repository, checkout the project seed branch and download the dependencies.
git clone https://github.com/devonfw/devon4ng-training
cd devon4ng-training
git checkout exercise/1-project-seed
npm install
Start the application. The following command starts the angular application and a mock backend that you will need for the HTTP exercise
npm run start
You might get an error saying that you can't run scripts, because they are disabled on your system. In this case you need to run the following command in a powershell and try again
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
You can't push to the Github repo. To share the code with your group you can use
git format-patch <commit-hash of last pushed commit>
This will create a patch in the "/patch" directory. You can send it to your team. Your team mate(s) can apply the patch to their own local repo using the command
git am <file name>