Загрузка...

Day 2 : DBERT Labs Internship : Version Control

Day 2 Onboarding Tutorial: Version Control & GitHub
Welcome to Day 2 of your 15-day structured onboarding at DBERT Labs! Yesterday, we covered the core Python 3.12 fundamentals. Today, we are shifting our focus to Version Control & GitHub, which is exactly how real-world developers collaborate on enterprise-grade systems
.
Before you can start writing code for the NIFTY 50 AI Stock Predictor, you need to set up your personal workspace and download the project to your computer.
Part 1: Setting Up Your GitHub Profile
GitHub is a cloud-based platform where we store, manage, and collaborate on our codebase. If you do not already have a GitHub account, your very first task is to create one.
Go to github.com and sign up for a free account.
Pro Tip: Choose a professional username, as this active GitHub profile will become a major part of your portfolio to show future employers
.
--------------------------------------------------------------------------------
Part 2: Forking the Repository
We do not want every intern making changes directly to the main company codebase at the same time. Instead, you must first fork the repository to your own GitHub account
.
Forking creates a linked copy of the project under your personal GitHub profile. This creates your personal workspace where you can safely experiment and make changes
.
How to Fork:
Log in to your GitHub account.
Navigate to our official project repository: Digital-Blinc-DBERT/nifty50_predictor
.
In the top right corner of the repository page, click the "Fork" button
.
Follow the prompts to create the fork under your own username.
--------------------------------------------------------------------------------
Part 3: Cloning the Repository
Now that you have a forked copy of the repository on your GitHub account, you need to bring that code down to your own computer so you can edit it. This process is called cloning
.
How to Clone:
Open your computer's terminal or command prompt.
Navigate to the folder where you want to store your project.
Run the following Git command, making sure to replace YOUR-USERNAME with your actual GitHub username:
git clone https://github.com/YOUR-USERNAME/nifty50_predictor.git
Press Enter. Git will download all the project files, including app.py, run_app.bat, and our EMERGENCY_LAUNCHER.py directly to your local laptop
.
--------------------------------------------------------------------------------
Next Steps
Spend the rest of today exploring the files you just downloaded. Familiarize yourself with the directory structure of the project. Mastering these version control basics today is critical, because tomorrow (Day 3) we will learn how to safely make code contributions by creating feature branches and opening Pull Requests back to the main repository
.

Видео Day 2 : DBERT Labs Internship : Version Control канала Digital Blinc
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять