-
Notifications
You must be signed in to change notification settings - Fork 0
/
c2f6ea03.f0df68aa.js
1 lines (1 loc) · 2.59 KB
/
c2f6ea03.f0df68aa.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{61:function(e,t,n){"use strict";n.r(t),n.d(t,"frontMatter",(function(){return o})),n.d(t,"metadata",(function(){return s})),n.d(t,"rightToc",(function(){return r})),n.d(t,"default",(function(){return b}));var i=n(2),a=n(6),l=(n(0),n(73)),o={id:"getting-started-installation",title:"Installation",sidebar_label:"Installation"},s={unversionedId:"getting-started-installation",id:"getting-started-installation",isDocsHomePage:!0,title:"Installation",description:"Requirements",source:"@site/docs/getting-started-requirements.md",permalink:"/pistache.github.io/docs/",editUrl:"https://github.com/facebook/docusaurus/edit/master/website/docs/getting-started-requirements.md",sidebar_label:"Installation",sidebar:"someSidebar",next:{title:"Hello World",permalink:"/pistache.github.io/docs/getting-started-hello-world"}},r=[],c={rightToc:r};function b(e){var t=e.components,n=Object(a.a)(e,["components"]);return Object(l.b)("wrapper",Object(i.a)({},c,n,{components:t,mdxType:"MDXLayout"}),Object(l.b)("h1",{id:"requirements"},"Requirements"),Object(l.b)("p",null,Object(l.b)("inlineCode",{parentName:"p"},"git")," is needed to retrieve the sources.]\nCompiling the sources will require ",Object(l.b)("inlineCode",{parentName:"p"},"CMake")," to generate Makefile and a recent version of ",Object(l.b)("inlineCode",{parentName:"p"},"g++")," (at least 4.7)."),Object(l.b)("p",null,"Also, Pistache does not support Windows yet."),Object(l.b)("h1",{id:"installing-pistache"},"Installing Pistache"),Object(l.b)("p",null,"To download the latest available release, clone the repository over github."),Object(l.b)("p",null,Object(l.b)("inlineCode",{parentName:"p"},"git clone https://github.com/oktal/pistache.git")),Object(l.b)("p",null,"Then, init the submodules:"),Object(l.b)("p",null,Object(l.b)("inlineCode",{parentName:"p"},"git submodule update --init")),Object(l.b)("p",null,"Finally, compile the sources:"),Object(l.b)("pre",null,Object(l.b)("code",Object(i.a)({parentName:"pre"},{className:"language-bash"}),'cd pistache\nmkdir build\ncd build\ncmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..\nmake\nsudo make install\n')),Object(l.b)("p",null,"Optionally, you can also run the tests:"),Object(l.b)("p",null,Object(l.b)("inlineCode",{parentName:"p"},"make test")),Object(l.b)("p",null,"Be patient, ",Object(l.b)("inlineCode",{parentName:"p"},"async_test")," can take some time before completing."),Object(l.b)("p",null,"And that\u2019s it, now you can start playing with your newly installed ",Object(l.b)("inlineCode",{parentName:"p"},"Pistache")," framework."))}b.isMDXComponent=!0}}]);