Welcome, to the TRILha Mentorship Program! We are thrilled to have you here as part of our community. This repository is where you will find all the resources and submit your homework assignments. Follow the instructions below to get started.
- Fork the Repository: Start by forking this repository to your GitHub account.
- Clone the Repository: Clone the forked repository to your local machine.
git clone https://github.com/<your-username>/TRILha-Hub-2024.git cd TRILha-Hub-2024
To make sure your environment is set up correctly, follow these steps:
- Create a Dummy Folder: Create a dummy folder in your local machine and push it to YOUR OWN GitHub repository NOT THIS ONE. This will help you get familiar with GitHub.
mkdir dummy_folder cd dummy_folder touch dummy_file.txt echo "Hello, TRILha!" > dummy_file.txt git add . git commit -m "Initial commit with dummy folder" git push origin main
Once you’ve completed any homework assignment, follow these steps to submit your assignment to GitHub:
-
Navigate to the Homework Folder: Go to the appropriate subfolder for the assignment. For example, for homework 1, navigate to
homeworks/homework1/
. -
Create Your Sub-Folder: Create a sub-folder named
<first_name>_<last_name>
. For example, "Nicholas_Rodrigues".mkdir homeworks/homework1/Nicholas_Rodrigues
-
Add Your Files: For each question, create a new file and name it
<QuestionName>.<filetype>
. Include the question number in the file name.touch homeworks/homework1/Nicholas_Rodrigues/question1.py
-
Push Your Work: Push your work to your repository.
git add . git commit -m "homework: Nicholas Rodrigues submission for homework 1" git push origin main
Here is an example structure for submitting homework:
homeworks/
└── homework1/
└── Nicholas_Rodrigues/
└── question1.py
└── question2.py
Happy coding! Let's make this journey a fun and productive learning experience.