Ensure you have Rust installed, if you don't, follow these steps
Install cargo-leptos by running: cargo install cargo-leptos
Install just by running: cargo install just
git clone git@github.com:Rust-Nigeria/website.git
cd WEBSITE
RUN just setup to build the site
Run just start to start/run the site localy
Install docker checkout
git clone git@github.com:Rust-Nigeria/website.git
cd WEBSITE
RUN docker build -t rust-nigeria-website . to build
RUN docker run -p 3000:8080 rust-nigeria-website to start/run the site localy
By default, you can access your local project at http://localhost:3000
Styling is done in tailwindcss and sass
vscode configurations are added in to allow tailwind classes auto-completion
WhatsApp.Video.2024-09-18.at.11.32.46.mp4
If you want to contribute content to the Rust Nigeria website, please follow these guidelines for articles, events, and projects.
When submitting an article, use the following JSON format:
{
"banner": "/assets/images/article-banners/default.png",
"name": "Rust: Rewriting Experiences",
"description": "Before I begin, let me get one thing out of the way. Rust isn't a programming language, it is an experience... based on Eze's journey with Rust.",
"article_link": "https://dev.to/rustnigeria/rust-rewriting-experiences-2e74",
"date": "2022-01-03T00:00:00.000Z",
"authors": [
{
"name": "Bolu",
"image": "/assets/images/members/bolu.png"
}
],
"tags": ["developer_story"]
}Notes:
banneris the path to your article imageassets/images/article-banners.nameis the article title.descriptionis a short summary of the article.article_linkis the external URL of the article.dateshould be in ISO 8601 format.authorsis an array of contributors with their names and imagesassets/images/members.tagsis an array of tags that best describe your article. Check for a tag that best fits your article or add a new one here.
When submitting an event, use the following JSON format:
{
"banner": "/assets/images/event-banners/rust-training-akwa-ibom.jpeg",
"name": "1-week intensive Rust Developers Training",
"description": "'The Rust developer’s on campus' Bootcamp kicks off on Monday at AKS University from the 21st of July - 21st of August 2025",
"event_link": "https://x.com/promise_reckon/status/1946624594242060333",
"date": "2025-07-21T16:00:00.000Z",
"speakers": [
{
"name": "promise paul",
"image": "assets/images/speakers/bolu.png",
"portfolio": "url link"
}
],
"tags": ["workshop"]
}Notes:
banneris the path to the event imageassets/images/event-banners.nameis the event title.descriptionis a short summary of the event.event_linkis a URL to the event page or announcement.dateshould be in ISO 8601 format 2025-07-21T16:00:00.000Z.speakersis an array of speaker objects (if any) name, speaker imageassets/images/speakersportfolio can be empty if non.tagsis an array of tags that best describe your event. Check for a tag that best fits your event or add a new one here.
When submitting a project, use the following JSON format:
[
{
"repo_url": "https://github.com/zerocore-ai/microsandbox",
"banner": "https://opengraph.githubassets.com/1/zerocore-ai/microsandbox",
"tags": ["ai"]
}
]Notes:
repo_urlis the GitHub repository link.banneris an image representing the project (e.g., Open Graph image or any image url).tagsis an array of tags that best describe your project. Check for a tag that best fits your project or add a new one here.
- Fork the repository and create a branch for your contribution.
- Add your content JSON in the correct file (e.g.,
data/articles.json,data/events.json,data/projects.json). - Commit your changes with a descriptive message.
- Push your branch and open a pull request against
dev.
Your contribution will be reviewed and merged once it follows the format and standards.
For other forms of contribution checkout CONTRIBUTING.md
This ensures all contributions are structured consistently and can be displayed properly on the website.
Production: https://www.rustnigeria.org
Staging: https://nigeria-website.fly.dev