er-00-00-02~Clone and Setup

InstructorKent C. Dodds

Share this video with your friends

Send Tweet

Let's talk about getting our repository cloned and setup. Navigate to the repo for the module you are working on, I'm doing react-fundamentals in this example, and clone that into a directory (whichever you prefer!). I'm going to call mine Epic React.

To start the setup, copy the code in the Setup of the README in the repository, cd into the Epic React directory, and run that copied code in your terminal.

Here's an example of what that code will look like:

git clone https://github.com/kentcdodds/<module-name>.git
cd <module-name>
npm run setup --silent

It'll start off doing some basic System Validation to make sure that you are running the correct versions of tools that are going to be used in this Workshop.

Next it will be installing all of the Dependencies that are necessary for running the examples application. Once that is done, it'll run tests to make sure that all of those Dependencies were installed and running correctly.

Lastly, it'll prompt you for your email. You don't have to put in your email if you don't want to. You can either wait for the timeout or quit out. This is the last thing so you won't be missing anything else.

After all of this, you're ready to start learning!