0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
No active XP Potion
Accept a Quest
Login to submit answers
The very first step of any project is to create a repository. A Git "repository" (or "repo") represents a single project. You'll typically have one repository for each project you work on.
A repo is essentially just a directory that contains a project (other directories and files). The only difference is that it also contains a hidden .git
directory. That hidden directory is where Git stores all of its internal tracking and versioning information for the project.
In this course, we'll be managing content for "WebFlyx", an imaginary self-hosted video streaming application. WebFlyx serves content directly from a Git repo!
Navigate to somewhere on your filesystem where you'd like to store your project. Once you're there, create a new directory called webflyx
and cd
into it.
mkdir webflyx
cd webflyx
Once inside, create a new Git repository:
git init
You should now have a hidden .git
directory in your webflyx
directory. This means you've successfully created a new Git repository! List (ls -a
) the contents of the directory to confirm.
Run and submit the CLI tests from the root of the webflyx
directory.
The Boot.dev CLI requires you to be signed in to submit your solution!
Copy/paste one of the following commands into your terminal:
Run
bootdev run fda2c302-cb1e-4ed1-910c-609d85d33e4a
Submit
bootdev run fda2c302-cb1e-4ed1-910c-609d85d33e4a -s
Run the CLI commands to test your solution.
Using the Bootdev CLI
The Bootdev CLI is the only way to submit your solution for this type of lesson. We need to be able to run commands in your environment to verify your solution.
You can install it here. It's a Go program hosted on GitHub, so you'll need Go installed as well. Instructions are on the GitHub page.