Open In Colab   Open in Kaggle

Tutorial 1: Importing the Template#

Week 1, Day 1: Instructions

By Neuromatch

Content creators: Konstantine Tsafatinos

Content reviewers: Konstantine Tsafatinos

Production editors: Konstantine Tsafatinos


Acknowledgments: [Ella Batty, Spiros Chavlis and neuromatch]


Use a line (—) separator from title block to objectives.

Tutorial Objectives#

Estimated timing of tutorial: [15 mins]

In this tutorial, you will learn how to import an existing github repository into a new github repository.

You should note the this differs from forking a repo. The reasons we are importing the template:

  • you get a working copy of all the starter code; it even builds!

  • it is decoupled from the template repo, which is desired as your course content will deviate from this template and at no point would you want to push to the orginal repo and overwrite the template (that would be no bueno)


Setup#

In this section, we have:

  1. New Repository Via Import: Create a new repository on github import from an existing repo.


Section 1: How to create a new repository via importing#

How to import:

  • sign in to github

  • click on create new repo

import repo gif

Section 1.1: Import from URL and name the new repository#

Next Steps:

  • import template

  • name course

  • choose organization (owner)

  • make it public

  • wait

NOTE: In order to create a repo under neuromatch, you will need to be a part of the organization. Be careful you do not create the repo under your username. If you need to be added to the org, you can message Konstantine Tsafatinos in the technical channel on slack.

create new course gif


Section 2: Wait for Importing to Complete#

You will see this:

complete import image


Summary#

Congrats! You have now successfully:

  1. created a new repo for your course content to live

  2. imported the starting code from our template