- Installation: Download and install GitHub Desktop.
- Authentication: Sign in with your GitHub account.
- Initial Setup: Clone the repository via File > Clone Repository.
- Principle: Always work in branches.
- Branch Creation: Create a new branch with a descriptive name for each feature/fix.
- Branch Switching: Switch between branches using the Current Branch dropdown.
- Commit Regularly: Commit changes with meaningful messages.
- Staging and Committing: Stage your changes, then click 'Commit'.
- Fetch Updates: Fetch often with 'Fetch origin' to see remote updates.
- Pushing: Push your commits with 'Push origin'.
- Pulling: Pull the latest changes from main using 'Pull'.
- PR Creation: After pushing your branch, click 'Create Pull Request'.
- Review Process: Add necessary comments and tag reviewers on the GitHub site.
- Conflict Resolution: Resolve conflicts in the indicated files by editing the conflict markers and then commit the resolved files.
- Collaboration Tool: Use VSCode Live Share.
- Joint Work: For joint commits, use the
Co-authored-by
tag in commit messages.
- Work only in branches. Never directly on
main
. - Commit frequently with clear messages.
- Always test locally before pushing.
- PRs must be reviewed by at least 1-2 team members.
- Ensure open communication within the team.
- Framework: We're using React for our frontend. Make sure to have Node.js installed.
- Setup: Navigate to the frontend directory and run
npm install
to install necessary dependencies. - Running Locally: Use
npm start
to launch the local development server. - Building: Use
npm run build
to create an optimized build.
- Framework: We are utilizing Flask for our backend.
- Setting up Virtual Environment:
- Navigation: Navigate to the project's directory (open in GH Desktop).
- Creation: Create the local venv using
python -m venv venv
. - Activation:
- Windows:
.\venv\Scripts\activate
- Mac or Linux:
source venv/bin/activate
- Windows:
- Dependencies: Install required packages using
pip install -r requirements.txt
. - Deactivation: Exit the virtual environment with
deactivate
.