Creating a repository

Next, we want to set up a repository. Remember that a repository is the root folder of your project holding all your files and folders. There are two ways to create this repository on GitHub:

  • You can push up a local repository—a project folder on your local machine
  • You can create a new repository online via GitHub

In this chapter, we will only look at the second way and do everything online.

It makes sense to connect your project to GitHub via the command line if you are working continuously with Git and GitHub. It only requires basic familiarity with the command line, and you can learn more about it at https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/.

After setting up ...

Get Learning D3.js 5 Mapping - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.