Welcome! You're about to learn something new, and that's exciting. This guide will walk you through everything step-by-step. Take your time—there's no rush.
You're going to:
Time needed: About 30-40 minutes at a comfortable pace
Before anything else, you need a GitHub account to access our code.
Skip to Step 1! 🎉
https://github.com/signup✅ You now have a GitHub account!
Once your account is created, you need to be added to the team repository:
vepsservice07-stack repositoryThe terminal is like a text-based way to talk to your computer. Don't worry—it looks intimidating but it's actually just typing commands.
The default terminal works, but we recommend iTerm2 for a better experience—it highlights executables and makes everything more colorful!
Using the default Terminal (already installed):
Command + Space (this opens Spotlight search)terminalOr upgrade to iTerm2 (recommended):
https://iterm2.com/downloads.htmlWindows Command Prompt and PowerShell don't work well with our tools. You need Git Bash.
Installing Git Bash:
https://git-scm.com/downloadsgit bash.sh) in green, making them easy to spot!
A window with text that ends with a $ or > symbol. This is where you'll type commands.
GitHub is where our code lives online. You need to prove it's really you before you can access it.
Copy and paste this command:
gh auth login
How to paste in terminal:
Command + VShift + InsertThen press
Question 1: "What account do you want to log into?"
1 and press EnterQuestion 2: "What is your preferred protocol?"
1 and press EnterQuestion 3: "Authenticate Git with your GitHub credentials?"
y and press EnterQuestion 4: "How would you like to authenticate?"
1 and press EnterABCD-1234Success! Your terminal should now say: "✓ Logged in as [your username]"
🎉 You did it! You're now connected to GitHub.
Now we're going to download all our team's code to your computer into a folder called COSMOS. This is called "cloning."
Type this command exactly:
cd ~/Code
Press
What this does: This moves you to your Code folder—a dedicated place for all your development work. If this folder doesn't exist yet, create it first:
mkdir -p ~/Code
cd ~/Code
git clone https://github.com/beyvanist/vepsservice07-stack.git cosmos
Press
What you'll see:
This is normal! It's downloading everything. It might take 30-60 seconds.
When it's done: You'll see your cursor blinking again (ready for the next command).
cd cosmos
Press
What this does: You're now "inside" the COSMOS working directory on your computer. All your work will happen here!
ls
Press
What you'll see: A list of files including several .sh files (these are your LINK-ER scripts!)
✅ Perfect! You're in COSMOS—your working directory.
The LINK-ER scripts are special programs that help you save your work properly. Right now they're "asleep"—we need to wake them up by making them executable.
.sh file in COSMOS
chmod +x commit.sh
chmod +x audit.sh
chmod +x version.sh
Press after each command.
What this does: This tells your computer these scripts are safe to run.
You won't see anything happen after each command—and that's good! No news is good news.
ls -la *.sh
Press
What you'll see: A list of .sh files with lots of letters and x's (the x means "executable").
If you're using Git Bash or iTerm2, executable files will appear in green or with an asterisk (*)—much easier to spot!
✅ Great work! The scripts are ready.
If you're comfortable with scripting, you could create a simple script that makes all .sh files executable at once:
#!/bin/bash
chmod +x *.sh
Save this as setup.sh, run chmod +x setup.sh once, then just run ./setup.sh in the future. But this is totally optional—running the individual commands works perfectly fine!
Let's use one of the tools to see what's here.
./audit.sh
Press
What you'll see:
What this means: You're seeing the current state of everything. Pretty neat, right?
Now for the fun part! You're going to add your name to a special file.
Important: Make sure you're in the COSMOS directory. If you're not sure, type:
cd ~/Code/cosmos
Important: Replace YOUR NAME with your actual name!
echo "YOUR NAME - First LINK-ER Mission - $(date '+%Y-%m-%d %H:%M:%S')" >> OPERATIVES.md
Example:
echo "Sarah Johnson - First LINK-ER Mission - $(date '+%Y-%m-%d %H:%M:%S')" >> OPERATIVES.md
Press
cat OPERATIVES.md
Press
What you'll see: Your name, the date, and time!
🎊 Amazing! You just modified a real file in the codebase.
This is where LINK-ER's magic happens. Instead of doing complicated git commands, we'll use a friendly helper.
./commit.sh --no-verify
Press
What you'll see: A menu with numbered options.
Question 1: "Selection:"
4 and press EnterQuestion 2: "Message:"
add [YOUR NAME] to operatives registry[YOUR NAME] with your actual name)add Sarah Johnson to operatives registryQuestion 3: "Scope:"
Question 4: "Finalize?"
y and press EnterSuccess! You'll see: "✅ Commit successful!"
The tool:
Pretty cool, right?
The last step is sending your change to GitHub so everyone can see it.
Our main branch is called master (not main). Let's verify this is set up correctly:
git branch --show-current
If it says master, you're good! If it says anything else, run:
git checkout master
This ensures your local master branch knows to push to the remote master branch:
git branch --set-upstream-to=origin/master master
You might see: "branch 'master' set up to track 'origin/master'." Perfect!
git push
Press
What you'll see:
master -> masterThis means it worked! 🎉
https://github.com/beyvanist/vepsservice07-stackLook at that—your name is in the team's code history!
Seriously, well done! You just:
That's genuinely impressive for your first time!
Once you're comfortable, here's what you'll do regularly:
cd ~/Code/cosmos
(Using your normal code editor)
./commit.sh
Answer the questions, then:
git push
That's it! Four simple steps.
"What if I make a mistake?"
Don't worry! Everything you do is tracked and can be undone. You can't permanently break anything.
"What if I see an error message?"
Read it carefully—it usually tells you what's wrong. Most errors are simple fixes like:
cd ~/Code/cosmos to get back)chmod +x scriptname.sh)"Can I practice again?"
Absolutely! You can add more lines to OPERATIVES.md anytime. Just repeat steps 6-8.
"What do all these commands mean?"
cd = "change directory" (move to a different folder)ls = "list" (show me what's in this folder)git clone = download code from GitHubgit push = upload your changes to GitHub./commit.sh = run the LINK-ER save toolchmod +x = make a script executable"Why do I need to run chmod +x for every script?"
When you download files from GitHub, they don't automatically have "permission" to run on your computer. The chmod +x command gives them that permission. You only need to do this once per script (unless you re-download everything).
"Who can I ask for help?"
Your team lead is here to help! You can also reach out to Zee and Ore. Don't hesitate to ask questions—everyone was new once.
Take your time: There's no rush. Go at your own pace.
You can't break anything: Seriously. The worst that happens is you get an error message and try again.
Every expert started here: Even the best developers were once typing their first terminal command.
You're doing great: If you made it this far, you're already learning!
When you're ready to make real code changes:
cd ~/Code/cosmos./commit.sh (without --no-verify this time)git push to shareYou've got this! 🌟
Need help? Ask in the team chat or reach out to your team lead, Zee, or Ore. We're all here to support you.
Welcome to the team! 🎉
COSMOS LINK-ER Quick Start Guide v0.2.0