This section provides instructions and guidelines for developers contributing to the biasharaid
project. Follow the steps and guidelines outlined below to set up your development environment, adhere to the project's code style, and understand the contributing process.
To set up the development environment for the biasharaid
project, follow these steps:
Clone the repository from GitHub to your local machine.
git clone https://github.com/kh3rld/biasharaid.git
cd biasharaid
Ensure you have Go installed on your machine. Install project dependancies using `go mod' commands.
go mod tidy
To run the server locally, use the go run
command.
go run main.go
The server will be running at http://localhost:8080
.
The project directory structure is as follows:
.
├── blockchain
│ └── blockchain.go
├── internals
│ └── routes
│ ├── handlers.go
│ └── routes.go
├── renders
│ ├── render.go
└── views
├── static
│ ├── 404.css
│ ├── 500.css
│ ├── contact.css
│ ├── dummy.css
│ ├── index.css
│ └── verify.css
└── templates
├── 404.page.html
├── 500.page.html
├── add.page.html
├── base.layout.html
├── contact.page.html
├── details.page.html
├── dummy.page.html
├── home.page.html
├── test.page.html
└── verify.page.html
├── .air.toml
├── .gitignore
├── data.json
├── go.mod
├── go.sum
├── main.go
└── README.md
Adhere to the following code style guidelines -> good practices
To contribute to the project, follow these steps:
Fork the repository on GitHub to your account.
Create a new branch for your feature or bug fix.
git checkout -b feature-name
Make your changes and commit them with a meaningful commit messages.
git add .
git commit -m "Add feature name"
Push your changes to your forked repository.
git push origin feature-name
Create a pull request from your branch to the main
branch of the original repository. Provide a clear description of your changes.
All contributors are expected to adhere to the project's Code of Conduct. Be respectful and considerate in all interactions with the community.