{"id":14988063,"url":"https://github.com/apache/brpc-website","last_synced_at":"2025-05-07T15:46:54.132Z","repository":{"id":35785187,"uuid":"205310916","full_name":"apache/brpc-website","owner":"apache","description":"Apache bRPC Website","archived":false,"fork":false,"pushed_at":"2025-01-23T06:28:34.000Z","size":139532,"stargazers_count":17,"open_issues_count":13,"forks_count":32,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-05-03T09:17:35.411Z","etag":null,"topics":["brpc"],"latest_commit_sha":null,"homepage":"https://brpc.apache.org","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apache.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-08-30T05:30:26.000Z","updated_at":"2025-01-23T06:27:57.000Z","dependencies_parsed_at":"2023-02-18T04:00:39.122Z","dependency_job_id":"bf24b2d0-0f8e-4405-a7e7-56eb94375ce7","html_url":"https://github.com/apache/brpc-website","commit_stats":{"total_commits":244,"total_committers":29,"mean_commits":8.413793103448276,"dds":0.680327868852459,"last_synced_commit":"aa7aca3612dd7ba308a22611a8db75054d244d5f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fbrpc-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fbrpc-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fbrpc-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fbrpc-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apache","download_url":"https://codeload.github.com/apache/brpc-website/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252443240,"owners_count":21748598,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["brpc"],"created_at":"2024-09-24T14:16:01.740Z","updated_at":"2025-05-07T15:46:54.097Z","avatar_url":"https://github.com/apache.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Apache bRPC Website\n \nThis project keeps all sources used for building up Apache bRPC website which's served at https://brpc.apache.org.\n\n## Overview\n\nThe Apache bRPC Website are built using [Hugo](https://gohugo.io/) with the [Docsy](https://docsy.dev) theme.\nThis project contains the hugo project, markdown files, and theme configurations.\n\n## Pre-requisites\n\n- [Hugo extended version](https://gohugo.io/getting-started/installing)\n- [Node.js](https://nodejs.org/en/)\n\n## Environment setup\n\nInstall pre-requisites\n```sh\n$ sudo apt install npm\n$ npm install\n```\n\n## Run local server\n\n\n1. Clone this repository\n```sh\ngit clone https://github.com/apache/brpc-website.git\n```\n2. Change to root directory: \n```sh\ncd brpc-website\n```\n3. Run \n```sh\nhugo server\n```\n4. Navigate to `http://localhost:1313`\n\n5. If you want to generate the static pages in /public folder, just run\n```sh\nhugo\n```\n\n# Note for PR\n\nWe choose master branch to hold all the site source change and asf-site for apache github website.\nPlease sent your PR to the master branch instead of asf-site.\n\n## How to modify the website pages\n\nThe structure of /content folder is as follows in which the files you will mainly modify. Take adding a new committer info to the **Community** page and adding a new bRPC release version info to **Download bRPC** page as an example, just find the `index.md` documents in their corresponding subfolder of /content then modify them. Or just click the **Edit this page/编辑本页** button on their pages and modify them directly. Modifying other files or pages is similar.\n\n```\nbrpc-website\n- content\n| - en\n| | - docs\n| | | - community\n| | | | - index.md\n| | | - DownloadBRPC\n| | | | - index.md\n| | | - ...\n| - zh\n| | - docs\n| | | - community\n| | | | - index.md\n| | | - DownloadBRPC\n| | | | - index.md\n| | | - ...\n```\n\n## Update docs\n1. Create new branch\n2. Commit and push changes to content\n3. Submit pull request to **master** branch\n4. Generate static pagas and Submit pull request to **asf-site** branch\n5. Staging site will automatically get created and linked to PR to review and test\n\n## Trouble shooting\n\nYou may encounter the **Piped Failed** problem when you execute the `hugo server` or `hugo` command, the solution is as follows.\n``` sh\nsudo launchctl limit maxfiles 65535 200000\nulimit -n 65535\nsudo sysctl -w kern.maxfiles=100000\nsudo sysctl -w kern.maxfilesperproc=65535\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fbrpc-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapache%2Fbrpc-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fbrpc-website/lists"}