Thank you for your interest in contributing to the Rust Nigeria website! This document will guide you on how to set up the project, submit changes, and ensure a smooth contribution process.
- How to Contribute
- Project Setup
- Coding Standards
- Submitting Changes
- Reporting Issues
- Additional Resources
There are several ways you can contribute:
- Reporting bugs or issues
- Suggesting new features
- Submitting pull requests with code or content improvements
- summiting project,event or blog post
- Improving documentation or design
Please follow the guidelines below to make your contribution process smooth.
-
Install required tools:
cargo install cargo-leptos cargo install just
-
Build the site:
just setup
-
Start the site locally:
just start
-
Open your browser at: http://localhost:3000
-
Install Docker: Docker Installation Guide
-
Clone the repository:
git clone [email protected]:Rust-Nigeria/website.git cd website
-
Build the Docker image:
docker build -t rust-nigeria-website . -
Run the Docker container:
docker run -p 3000:8080 rust-nigeria-website
-
Open your browser at: http://localhost:3000
-
Styling: TailwindCSS and Sass are used for styling.
- Tailwind classes autocomplete is enabled in VSCode.
-
HTML/Leptos: Follow existing component structure.
-
Commit messages: Use clear, concise messages that describe your changes.
-
Ensure you run
rustc cargo_tool.rsand./cargo_tool.exefor windows or./cargo_toollinux and mac before sending a PR
-
Fork the repository and create a feature branch:
git checkout -b <my-feature-branch>
-
Make your changes locally and test them.
-
Commit your changes:
git commit -m "Add meaningful description of change" -
Push your branch and open a pull request against the
devbranch.
If you encounter any bugs or issues:
-
Check existing issues to avoid duplicates.
-
Open a new issue with:
- Clear title
- Steps to reproduce
- Screenshots or links if applicable