Prepare for your training
This preparation guide helps you setting up your machine so you're ready for your upcoming training!
This is the thougtram Preparation Guide to get you and your machine ready for your next training. Depending on what training you'll attend, the setup and prerequisites might be different, as we're using different tools to give you the best experience possible. Some tools are also rather optional as they'd ease the overall training flow but aren't necessary to attend or follow our training.
Please read the following guides depending on which class you're going to join:
Git Master Class
Angular Master Class
Create a GitHub account
To provide you the best experience possible, we're using Git repositories that you can easily clone and review during the classes but also once the class is over. Our respositories are hosted on GitHub and are private. To give you access to these repositories we'll ask you for your GitHub username, so please go ahead and create a GitHub account.
Git is a version control system that we use to manage and maintain the code of our entire training material, including slides, exercises, exercise descriptions and solutions. Thus, there are a couple of repositories for each training class you might want to install on your machine to have a smooth experience.
Installing Git is easy. Simply head over to git-scm.com/download and download the latest binary for your platform.
Once you've downloaded the binary, execute the installer so Git will be installed on you machine. This will set up the command line tool for Git. After the installation is finished, open your terminal (for Windows users we recommend Git Bash which comes with the dedicated installer) and type
git --help. This will output the help for Git's most common commands. If you see the same as what is shown in the following figure, Git is installed on your machine and runs properly.
Installing Node.js and npm
To install Node and npm on your machine, grab the latest binary from nodejs.org/en/download and execute the installer. Follow the assistent's instructions, the installation process might take a while.
Make sure you have a version installed that is >= 9.x to avoid weird problems during the training (we know, the screenshot shows
4.x but we really need
>=9.x). To check your node version, simply run
node -v in your terminal.
You should now have also npm installed. To double check, run
npm -v in your terminal (this should be >=5.x).
Cool, Node and npm are running on your machine!
For this guide, you need to have Node.js installed first. If you don't have it yet, go and read our guide on installing Node.
Throughout the Angular Master Class, we use the official Angular command line interface to scaffold the application, generate components, services and compile and run the code. We think it's the best experience you can get when devolping Angular application, as it takes a lot of hassle away from you by providing many powerful tools and an optimized build process which even lets you easily deploy your application on GitHub.
Installing Angular CLI
To install Angular CLI on your machine, execute
npm install -g @angular/cli in your terminal of choice.
Angular Master Class Starter Kit
For this guide, you need to have Git installed first. If you don't have it yet, go and read our guide on installing Git.
To get started quickly at our training, we've prepared a starter kit repository that you'll use to build your application during the class. You can download or
git clone the repository from github.com/thoughtram/angular-master-class-starter.
The repository comes with a scaffolded Angular application structure that was generated using Angular CLI, hence, this application can be run using the usual Angular CLI commands like
ng serve. However, make sure to install its dependencies first by running
npx yarn install.