liveBook · Manning

Repository

As explained in Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform

A code repository is a storage location that contains a software project's source code and related development history.

A repository is a storage location for a software project's code and development history. GitHub repositories provide downloadable or cloneable project copies for local development. section 2.2 section 2.5.2

Repositories support several practical workflows:

  • Clone a repository with Git to place a working copy on a local hard drive. section 2.5.2
  • Fork a repository to create an owned copy that can accept changes and trigger GitHub Actions workflows. section 8.3
  • Organize examples side by side in a chapter repository or separately in repositories that are easier to fork. section 8.2
  • Split a monorepo into separate repositories for each microservice and for shared infrastructure code. section 12.2.3

Clone a repository

Run git clone with a repository URL to create a local copy, then work with the project files on the current machine. section 2.5.2

git clone 
 https://github.com/bootstrapping-microservices-2nd-edition/chapter-2

Use the supplied command listing as a concrete template for cloning a chapter repository from GitHub. section 2.5.2

How Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform covers it

How deep it goes
Defines repositories operationally through cloning, downloading, forking, workflow triggers, and splitting; preserves history as an advanced option.
Examples
Uses chapter repositories, separately forkable deployment examples, microservice repositories, and a Terraform infrastructure repository.
What it assumes
Assumes Git installation for cloning and a GitHub account for forking.
What you can do after
Operate/configure repositories by cloning local copies, forking them, enabling workflows, and separating microservice code.
How it connects
Connects Git, GitHub, cloning, forking, GitHub Actions, microservices, monorepos, and Terraform.

Also explained in

Compare how 10 books explain repository →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform. The section links point to the parts of the book it draws on.