Skip to content

Latest commit

 

History

History
75 lines (61 loc) · 2.22 KB

File metadata and controls

75 lines (61 loc) · 2.22 KB

Contributing to DevPath Community Website

Thank you for your interest in contributing to the DevPath Community Website! We welcome contributions from everyone.

Getting Started

  1. Fork the repository on GitHub.

  2. Clone your fork locally:

    git clone https://github.com/YOUR_USERNAME/DevPath-Web.git
    cd DevPath-Web
  3. Install dependencies:

    npm install
    # or
    yarn install
  4. Set up environment variables:

    • Copy .env.example to .env.local:
      cp .env.example .env.local
    • Create a new Firebase project in the Firebase Console.
    • Enable Authentication and Firestore.
    • Get your Firebase configuration keys from Project Settings and fill them in .env.local.
    • IMPORTANT: Never commit your .env.local file. It is already in the .gitignore to prevent accidental leaks.
    • (Optional) Deploy firestore.rules to your Firebase project to ensure correct permissions:
      firebase deploy --only firestore:rules
  5. Run the setup script: This will help you set up your local database permissions and seed initial data.

    npm run setup
  6. Run the development server:

    npm run dev
    # or
    yarn dev

    Open http://localhost:3000 with your browser to see the result.

Making Changes

  1. Create a new branch for your feature or fix:
    git checkout -b feature/amazing-feature
  2. Make your changes.
  3. Commit your changes with descriptive messages.
  4. Push to your fork:
    git push origin feature/amazing-feature

Submitting a Pull Request

  1. Go to the original repository on GitHub.
  2. Click "New Pull Request".
  3. Select your branch and submit the PR.
  4. Provide a clear description of your changes.

Code of Conduct

Please note that this project is released with a Code of Conduct. By participating in this project you agree to abide by its terms.

Git Contribution Guide

New contributors can follow our detailed Git workflow guide here: