Skip to the content.

Introduction

Welcome to our beginner-friendly coding bootcamp!

In this 1-hour hands-on workshop, you’ll learn:

  1. Java Syntax & OOP Basics
  2. Essential Linux Commands (ls, cd, mkdir, touch, rm, etc.)
  3. Git Version Control and GitHub Repository Management (clone, push, pull, commit, PR, etc.)

Table of Contents

  1. Pre-Workshop Checklist
  2. Activity 1: Java Basics
  3. Activity 2: Git Practice

Pre-Workshop Checklist

1. Required Installations

Tool Verification Command
Java JDK 11+ java -version && javac -version
Git git --version
Terminal/Shell ls (should list files)

2. GitHub Account

  1. Create free account: github.com/signup
  2. Optional: Set up SSH keys (guide)

If you have not installed the required tools, please refer to the Setup Guide.

Workshop Activities

Please follow the instructions below to complete the workshop activities.

Activity 1: Navigate in Terminal/Shell and Learn Java Basics

1-1. Open your Terminal/Shell

pwd
cd <DIRECTORY_PATH>
mkdir coe-workshop
ls
cd coe-workshop
pwd

1-2. Fork and clone the Repository

# Replace <YOUR GITHUB USERNAME> with your GitHub username
git clone https://github.com/<YOUR GITHUB USERNAME>/coe-coding-basics-bootcamp.git
cd coe-coding-basics-bootcamp
ls

1-3. Open the greeting folder and read the Greeter.java file

ls greeting
cat greeting/Greeter.java
javac greeting/Greeter.java
java greeting.Greeter
=== Welcome to COE Coding Workshop ===
Hello! I'm Workshop Participant
Joining from: Virtual Campus
===============================

Workshop Task:
1. Replace DEFAULT_NAME and DEFAULT_CAMPUS with your info
2. Experiment with different campus names!
3. (Optional) Add a new method to display multiple greetings

1-4. Edit the Greeter.java file

nano greeting/Greeter.java
javac greeting/Greeter.java
java greeting.Greeter
=== Welcome to COE Coding Workshop ===
Hello! I'm <YOUR NAME>
Joining from: <YOUR CAMPUS>
===============================

Workshop Task:
1. Replace DEFAULT_NAME and DEFAULT_CAMPUS with your info
2. Experiment with different campus names!
3. (Optional) Add a new method to display multiple greetings

Now, you have successfully completed activity 1 and achieved the first goal - Understanding Java Syntax and OOP Basics! 🎉

To recap the code explanation and fundamental concepts, please refer to Greeter Java Code Explanation and OOP Principles.

Activity 2: Pratice Essential Commands and Git Basics

2-1. Check the git status to understand the repository status

git status

2-2. Navigate to the pages folder and copy the template file

cd pages
ls
cat greeting-example.md
cp greeting-example.md yourname.md
ls

2-3. Edit the yourname.md file

nano yourname.md
cat yourname.md

2-4. Add and commit the changes to the repository

cd ..
git status
git add pages/yourname.md
git status

git_add

git reset <TARGET_FILE>
# Alternatively, you can unstage all files
git reset .
git commit -m "Add greeting message for yourname"
git status

git_commit

git push

2-5. Create a Pull Request (PR) to the Original Repository

open_pr

# Example PR Title: 
Add greeting message for yourname
# Example PR Description:
I have added my greeting message to the workshop page. Please review and merge the changes. Thank you!

create_pr

Now, you have successfully completed activity 2 and achieved the second and third goal - Learning Essential Commands and Git Basics! 🎉

Congratulations! You have completed all the workshop activities and learned Java, Linux, and Git basics! 🎉

Resources and References

Here are some additional resources and references to help you continue learning and exploring:

Feel free to explore these resources and continue your coding journey! 🚀

Need Help?

If you have any questions or need help, feel free to contact the host Yang Jiang at: Email: jiang.yang1@northeastern.edu

Back to Homepage