Batch 48, Department of Computer Science & Engineering, Jahangirnagar University, Bangladesh
- Iffat Ara Sanzida (IA) - 344
- Jannatul Ferdoush Jannati (JF) - 349
- Sumaita Binte Shorif (SB) - 357
- Amena Akter Sathi (AA)- 351
- Fariha Rahman Saba (FR) - 347
-
Install git bash
-
Open your local directory's git bash terminal
-
Configure git:
git config --global user.name <github_username>
git config --global user.email <github_email>
-
Run command:
git clone https://github.com/JU-High-Fives/Dhar-Hobe.git
- Navigate:
cd BharaHobe
- Open VS Code:
code .
- Open terminal:
Ctrl + J
-
Check Python:
python --version
If python not found, install python.
-
Check Django:
python -m django --version
If Django is not found, install by running:
pip install django
-
See branch list:
git branch -a
-
Checkout to specific branch:
git checkout <branch_name>
-
Run the project:
python manage.py runserver
-
Click and Follow:
http://127.0.0.1:8000/
- Run command:
git checkout -b <new_branch_name>
-
Create an app:
python manage.py startapp <app_name>
-
After making changes in databases:
python manage.py makemigrations
python manage.py migrate
-
Run test cases to ensure everything is working as expected:
python manage.py test
-
Commit changes to the local repository:
git add .
git commit -m "Description of changes made"
-
Push changes to the remote repository:
git push origin <new_branch_name>
- Go to Github Actions
- Click on a pipeline
- Click on test
- Create a Pull Request from new branch to the main development branch.
- Watch this
- Collaborators will review changes in the Pull Request.
- If approved, merge changes into the main branch.
- Watch this
-
Switch back to the main branch:
git checkout main
-
Pull the latest changes from the remote repository:
git pull origin main
-
Delete the local feature branch (optional):
git branch -d <new_branch_name>
-
Delete the remote feature branch (if merged and no longer needed):
git push origin --delete <new_branch_name>