Thank you for your interest in contributing to the DevPath Community Website! We welcome contributions from everyone.
-
Fork the repository on GitHub.
-
Clone your fork locally:
git clone https://github.com/YOUR_USERNAME/DevPath-Web.git cd DevPath-Web -
Install dependencies:
npm install # or yarn install -
Set up environment variables:
- Copy
.env.exampleto.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.localfile. It is already in the.gitignoreto prevent accidental leaks. - (Optional) Deploy
firestore.rulesto your Firebase project to ensure correct permissions:firebase deploy --only firestore:rules
- Copy
-
Run the setup script: This will help you set up your local database permissions and seed initial data.
npm run setup
-
Run the development server:
npm run dev # or yarn devOpen http://localhost:3000 with your browser to see the result.
- Create a new branch for your feature or fix:
git checkout -b feature/amazing-feature
- Make your changes.
- Commit your changes with descriptive messages.
- Push to your fork:
git push origin feature/amazing-feature
- Go to the original repository on GitHub.
- Click "New Pull Request".
- Select your branch and submit the PR.
- Provide a clear description of your changes.
Please note that this project is released with a Code of Conduct. By participating in this project you agree to abide by its terms.
New contributors can follow our detailed Git workflow guide here: