We welcome contributions from the community! If you'd like to contribute, follow these steps:
-
Fork the Repository
- Click the Fork button at the top right of this page to create a copy of the repository on your GitHub account.
-
Clone Your Fork
- Clone your forked repository to your local machine using:
git clone https://github.com/YOUR-USERNAME/REPOSITORY-NAME.git
- Clone your forked repository to your local machine using:
-
Navigate to the Project Directory
- Change into the project directory:
cd path/Digilance
- Change into the project directory:
-
Download Dependencies
-
Install the necessary dependencies for both the frontend and backend:
# For the backend cd ./backend npm install nodemon npm install # For the frontend cd ./frontend npm install
-
-
Create a New Branch
- Create a new branch for your changes:
git checkout -b feature/your-feature-name
- Create a new branch for your changes:
-
host the website
- host the website on localhost:
npm run dev
- host the website on localhost:
-
Start the backend server
- open another terminal and type this:
cd ./backend nodemon ./server.js
- open another terminal and type this:
-
Make Your Changes
- Add your new features, fix bugs, or improve the code/documentation.
-
Commit Your Changes
- After making your changes, stage and commit them:
git add . git commit -m "Describe your changes"
- After making your changes, stage and commit them:
-
Push to Your Fork
- Push your changes to your forked repository:
git push origin feature/your-feature-name
- Push your changes to your forked repository:
-
Submit a Pull Request
- Go to the original repository on GitHub and create a pull request. Be sure to:
- Describe the changes you've made.
- Mention any issues that are related to your changes.
-
Wait for Review
- Your pull request will be reviewed. If any changes are requested, update your pull request accordingly.
Now you're ready to contribute! Thank you for your help in improving this project.