mirror of
https://github.com/logos-messaging/docs.waku.org.git
synced 2026-01-20 05:33:08 +00:00
1 line
9.2 KiB
JavaScript
1 line
9.2 KiB
JavaScript
|
|
"use strict";(self.webpackChunkwaku_guide=self.webpackChunkwaku_guide||[]).push([[997],{4865:(e,n,r)=>{r.d(n,{A:()=>p});var s=r(96540),t=r(34164),i=r(23104),l=r(47751),o=r(92303);const a={tabList:"tabList__CuJ",tabItem:"tabItem_LNqP"};var d=r(74848);function c({className:e,block:n,selectedValue:r,selectValue:s,tabValues:l}){const o=[],{blockElementScrollPositionUntilNextRender:c}=(0,i.a_)(),u=e=>{const n=e.currentTarget,t=o.indexOf(n),i=l[t].value;i!==r&&(c(n),s(i))},h=e=>{let n=null;switch(e.key){case"Enter":u(e);break;case"ArrowRight":{const r=o.indexOf(e.currentTarget)+1;n=o[r]??o[0];break}case"ArrowLeft":{const r=o.indexOf(e.currentTarget)-1;n=o[r]??o[o.length-1];break}}n?.focus()};return(0,d.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,t.A)("tabs",{"tabs--block":n},e),children:l.map(({value:e,label:n,attributes:s})=>(0,d.jsx)("li",{role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,ref:e=>{o.push(e)},onKeyDown:h,onClick:u,...s,className:(0,t.A)("tabs__item",a.tabItem,s?.className,{"tabs__item--active":r===e}),children:n??e},e))})}function u({lazy:e,children:n,selectedValue:r}){const i=(Array.isArray(n)?n:[n]).filter(Boolean);if(e){const e=i.find(e=>e.props.value===r);return e?(0,s.cloneElement)(e,{className:(0,t.A)("margin-top--md",e.props.className)}):null}return(0,d.jsx)("div",{className:"margin-top--md",children:i.map((e,n)=>(0,s.cloneElement)(e,{key:n,hidden:e.props.value!==r}))})}function h(e){const n=(0,l.u)(e);return(0,d.jsxs)("div",{className:(0,t.A)("tabs-container",a.tabList),children:[(0,d.jsx)(c,{...n,...e}),(0,d.jsx)(u,{...n,...e})]})}function p(e){const n=(0,o.default)();return(0,d.jsx)(h,{...e,children:(0,l.v)(e.children)},String(n))}},19365:(e,n,r)=>{r.d(n,{A:()=>l});r(96540);var s=r(34164);const t={tabItem:"tabItem_Ymn6"};var i=r(74848);function l({children:e,hidden:n,className:r}){return(0,i.jsx)("div",{role:"tabpanel",className:(0,s.A)(t.tabItem,r),hidden:n,children:e})}},20581:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>c,contentTitle:()=>d,default:()=>p,frontMatter:()=>a,metadata:()=>s,toc:()=>u});const s=JSON.parse('{"id":"run-node/build-source","title":"Build Nwaku from Source","description":"This guide provides detailed steps to build a nwaku node from the source code to access the latest development version or a specific commit or release of nwaku. For your convenience, you may want to download a pre-compiled binary instead.","source":"@site/docs/run-node/build-source.md","sourceDirName":"run-node","slug":"/run-node/build-source","permalink":"/run-node/build-source","draft":false,"unlisted":false,"editUrl":"https://github.com/waku-org/docs.waku.org/tree/develop/docs/run-node/build-source.md","tags":[],"version":"current","lastUpdatedAt":null,"frontMatter":{"title":"Build Nwaku from Source","hide_table_of_contents":true,"displayed_sidebar":"runNode"},"sidebar":"runNode","previous":{"title":"Run Nwaku in a Docker Container","permalink":"/run-node/run-docker"},"next":{"title":"Configure Peer Discovery","permalink":"/run-node/configure-discovery"}}');var t=r(74848),i=r(28453),l=r(4865),o=r(19365);const a={title:"Build Nwaku from Source",hide_table_of_contents:!0,displayed_sidebar:"runNode"},d=void 0,c={},u=[{value:"Prerequisites",id:"prerequisites",level:2},{value:"Clone the repository",id:"clone-the-repository",level:2},{value:"Build the binary",id:"build-the-binary",level:2},{value:"Run the binary",id:"run-the-binary",level:2},{value:"Run test suite",id:"run-test-suite",level:2}];function h(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(n.p,{children:["This guide provides detailed steps to build a ",(0,t.jsx)(n.code,{children:"nwaku"})," node from the source code to access the latest development version or a specific commit or release of ",(0,t.jsx)(n.code,{children:"nwaku"}),". For your convenience, you may want to ",(0,t.jsx)(n.a,{href:"https://github.com/waku-org/nwaku/tags",children:"download a pre-compiled binary"})," instead."]}),"\n",(0,t.jsx
|