summaryrefslogtreecommitdiffstats
path: root/docs/77fbd900.e81bcbbd.js
blob: b2e230eca3cba1c23873ca619b1473bd6eacff42 (plain)
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{123:function(e,a,t){"use strict";var n=t(0),o=t(20);a.a=function(){const e=Object(n.useContext)(o.a);if(null===e)throw new Error("Docusaurus context not provided");return e}},124:function(e,a,t){"use strict";t.d(a,"a",(function(){return d})),t.d(a,"b",(function(){return u}));var n=t(0),o=t.n(n);function r(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function i(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}function s(e){for(var a=1;a<arguments.length;a++){var t=null!=arguments[a]?arguments[a]:{};a%2?i(Object(t),!0).forEach((function(a){r(e,a,t[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))}))}return e}function c(e,a){if(null==e)return{};var t,n,o=function(e,a){if(null==e)return{};var t,n,o={},r=Object.keys(e);for(n=0;n<r.length;n++)t=r[n],a.indexOf(t)>=0||(o[t]=e[t]);return o}(e,a);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)t=r[n],a.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var b=o.a.createContext({}),l=function(e){var a=o.a.useContext(b),t=a;return e&&(t="function"==typeof e?e(a):s(s({},a),e)),t},d=function(e){var a=l(e.components);return o.a.createElement(b.Provider,{value:a},e.children)},m={inlineCode:"code",wrapper:function(e){var a=e.children;return o.a.createElement(o.a.Fragment,{},a)}},p=o.a.forwardRef((function(e,a){var t=e.components,n=e.mdxType,r=e.originalType,i=e.parentName,b=c(e,["components","mdxType","originalType","parentName"]),d=l(t),p=n,u=d["".concat(i,".").concat(p)]||d[p]||m[p]||r;return t?o.a.createElement(u,s(s({ref:a},b),{},{components:t})):o.a.createElement(u,s({ref:a},b))}));function u(e,a){var t=arguments,n=a&&a.mdxType;if("string"==typeof e||n){var r=t.length,i=new Array(r);i[0]=p;var s={};for(var c in a)hasOwnProperty.call(a,c)&&(s[c]=a[c]);s.originalType=e,s.mdxType="string"==typeof e?e:n,i[1]=s;for(var b=2;b<r;b++)i[b]=t[b];return o.a.createElement.apply(null,i)}return o.a.createElement.apply(null,t)}p.displayName="MDXCreateElement"},125:function(e,a,t){"use strict";t.d(a,"b",(function(){return r})),t.d(a,"a",(function(){return i}));var n=t(123),o=t(126);function r(){const{siteConfig:{baseUrl:e="/",url:a}={}}=Object(n.a)();return{withBaseUrl:(t,n)=>function(e,a,t,{forcePrependBaseUrl:n=!1,absolute:r=!1}={}){if(!t)return t;if(t.startsWith("#"))return t;if(Object(o.b)(t))return t;if(n)return a+t;const i=!t.startsWith(a)?a+t.replace(/^\//,""):t;return r?e+i:i}(a,e,t,n)}}function i(e,a={}){const{withBaseUrl:t}=r();return t(e,a)}},126:function(e,a,t){"use strict";function n(e){return!0===/^(\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!n(e)}t.d(a,"b",(function(){return n})),t.d(a,"a",(function(){return o}))},86:function(e,a,t){"use strict";t.r(a),t.d(a,"frontMatter",(function(){return s})),t.d(a,"metadata",(function(){return c})),t.d(a,"rightToc",(function(){return b})),t.d(a,"default",(function(){return d}));var n=t(2),o=t(6),r=(t(0),t(124)),i=t(125),s={id:"installation",title:"Instala\xe7\xe3o",sidebar_label:"Instala\xe7\xe3o"},c={unversionedId:"installation",id:"installation",isDocsHomePage:!1,title:"Instala\xe7\xe3o",description:"Download",source:"@site/docs\\installation.md",permalink:"/PSP/docs/installation",editUrl:"https://github.com/Thales1330/PSP/tree/master/docusaurus/docs/installation.md",sidebar_label:"Instala\xe7\xe3o",sidebar:"docs",previous:{title:"PSP-UFU",permalink:"/PSP/docs/"},next:{title:"Tela Principal",permalink:"/PSP/docs/mainScreen"}},b=[{value:"Download",id:"download",children:[]},{value:"Windows",id:"windows",children:[{value:"Problemas recorrentes no Windows",id:"problemas-recorrentes-no-windows",children:[]}]},{value:"Linux",id:"linux",children:[{value:"Problemas recorrentes no Linux",id:"problemas-recorrentes-no-linux",children:[]}]}],l={rightToc:b};function d(e){var a=e.components,t=Object(o.a)(e,["components"]);return Object(r.b)("wrapper",Object(n.a)({},l,t,{components:a,mdxType:"MDXLayout"}),Object(r.b)("h2",{id:"download"},"Download"),Object(r.b)("p",null,"O download do PSP-UFU pode ser realizado pelo ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://github.com/Thales1330/PSP/releases/latest"}),'"',Object(r.b)("em",{parentName:"a"},"last release"),'" do reposit\xf3rio do PSP-UFU no GitHub'),"."),Object(r.b)("p",null,"Ao acessar ao link, role a p\xe1gina at\xe9 encontrar os ",Object(r.b)("em",{parentName:"p"},"Assets"),":"),Object(r.b)("div",null,Object(r.b)("center",null,Object(r.b)("img",{src:Object(i.a)("images/download.png"),alt:"Assets download",title:"Informa\xe7\xf5es da Figura"}))),Object(r.b)("p",null,"Como o PSP-UFU \xe9 um ",Object(r.b)("em",{parentName:"p"},"software")," multiplataforma, voc\xea deve baixar o arquivo correto:"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},"Para o sistema operacional ",Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"installation#windows"}),"Windows")," baixe os arquivos ",Object(r.b)("em",{parentName:"li"},".exe")," (recomendado) ou ",Object(r.b)("em",{parentName:"li"},".zip"),"."),Object(r.b)("li",{parentName:"ul"},"Para os sistemas ",Object(r.b)("a",Object(n.a)({parentName:"li"},{href:"installation#linux"}),"Linux")," baseados no Debian (por exemplo, Ubuntu, Mint) ",Object(r.b)("em",{parentName:"li"},"64 bits")," baixe o pacote de instala\xe7\xe3o ",Object(r.b)("em",{parentName:"li"},".deb"),".")),Object(r.b)("div",{className:"admonition admonition-tip alert alert--success"},Object(r.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-heading"}),Object(r.b)("h5",{parentName:"div"},Object(r.b)("span",Object(n.a)({parentName:"h5"},{className:"admonition-icon"}),Object(r.b)("svg",Object(n.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"}),Object(r.b)("path",Object(n.a)({parentName:"svg"},{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})))),"Dica")),Object(r.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-content"}),Object(r.b)("p",{parentName:"div"},"Se voc\xea est\xe1 interessado em contribuir com o PSP-UFU construindo-o para outros sistemas operacionais (principalmente macOS!) entre em contato pelo ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://github.com/Thales1330/PSP/issues"}),"GitHub")," ou ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://twitter.com/PspUfu"}),"Twitter"),"."))),Object(r.b)("p",null,"Na sequ\xeancia s\xe3o apresentados o passo-a-passo para instala\xe7\xe3o dos SOs ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"installation#windows"}),"Windows")," e ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"installation#linux"}),"Linux"),". Tamb\xe9m s\xe3o apresentadas as solu\xe7\xf5es para os erros mais recorrentes."),Object(r.b)("h2",{id:"windows"},"Windows"),Object(r.b)("p",null,"Ap\xf3s baixar o arquivo ",Object(r.b)("em",{parentName:"p"},".exe")," avance em cada passo do instalador. O execut\xe1vel ir\xe1 solicitar automaticamente a instala\xe7\xe3o do ",Object(r.b)("strong",{parentName:"p"},"Microsoft Visual C++ Redistribu\xedvel")," e, caso n\xe3o esteja instalado no seu computador, realize os procedimentos do programa."),Object(r.b)("p",null,"Caso o execut\xe1vel falhe em abrir, baixe o arquivo ",Object(r.b)("em",{parentName:"p"},".zip")," e descompacte em alguma pasta do seu sistema. Nesse caso \xe9 necess\xe1rio baixar e instalar manualmente o ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://aka.ms/vs/16/release/vc_redist.x86.exe"}),Object(r.b)("strong",{parentName:"a"},"Microsoft Visual C++ Redistribu\xedvel 32 bits")),"."),Object(r.b)("p",null,'Ap\xf3s a conclus\xe3o da instala\xe7\xe3o abra o PSP-UFU para verificar a correta instala\xe7\xe3o. O execut\xe1vel est\xe1 presente na pasta "',Object(r.b)("em",{parentName:"p"},"<local de instala\xe7\xe3o>/PSP-UFU/bin/PSP-UFU.exe"),'".'),Object(r.b)("h3",{id:"problemas-recorrentes-no-windows"},"Problemas recorrentes no Windows"),Object(r.b)("ul",null,Object(r.b)("li",{parentName:"ul"},"Ao baixar o navegador pode ",Object(r.b)("strong",{parentName:"li"},"falsamente"),' sinalizar que \xe9 um arquivo perigoso, basta clicar em "Manter arquivo";'),Object(r.b)("li",{parentName:"ul"},'Ao abrir o instalador, novamente o Windows sinaliza que o arquivo \xe9 perigoso, basta clicar em "Executar assim mesmo";'),Object(r.b)("li",{parentName:"ul"},"Ao abrir o programa e alterar o seu idioma, uma mensagem de erro \xe9 exibida. Para resolver esse problema basta executar o PSP-UFU como administrador (clicar com bot\xe3o direito no atalho do programa e posteriormente em executar como administrador). Altere novamente o idioma e reinicie o programa;"),Object(r.b)("li",{parentName:"ul"},'Ao criar um novo projeto a tela de trabalho n\xe3o \xe9 exibida ou \xe9 exibida uma tela preta. V\xe1 nas op\xe7\xf5es gerais e altere o renderizador para "Device Context". Caso apare\xe7a uma mensagem de erro, execute o programa como administrador e repita o processo. Reinicie o programa.')),Object(r.b)("h2",{id:"linux"},"Linux"),Object(r.b)("p",null,"A instala\xe7\xe3o no sistema Linux \xe9 facilmente realizado pelo pacote de instala\xe7\xe3o autom\xe1tico ",Object(r.b)("em",{parentName:"p"},".deb"),"."),Object(r.b)("div",{className:"admonition admonition-caution alert alert--warning"},Object(r.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-heading"}),Object(r.b)("h5",{parentName:"div"},Object(r.b)("span",Object(n.a)({parentName:"h5"},{className:"admonition-icon"}),Object(r.b)("svg",Object(n.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}),Object(r.b)("path",Object(n.a)({parentName:"svg"},{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})))),"Aten\xe7\xe3o!")),Object(r.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-content"}),Object(r.b)("p",{parentName:"div"},"Note que essa vers\xe3o para Linux est\xe1 defasada e algumas funcionalidades do programa podem n\xe3o estar presentes."),Object(r.b)("p",{parentName:"div"},"Caso queira contribuir com o projeto e construir a vers\xe3o atual no sistema Linux baseado em Debian ou em outras distribui\xe7\xf5es entre em contato pelo ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://github.com/Thales1330/PSP/issues"}),"GitHub")," ou ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://twitter.com/PspUfu"}),"Twitter"),"."))),Object(r.b)("h3",{id:"problemas-recorrentes-no-linux"},"Problemas recorrentes no Linux"),Object(r.b)("p",null,"Pode ser necess\xe1rio adicionar o ",Object(r.b)("a",Object(n.a)({parentName:"p"},{href:"https://wiki.wxwidgets.org/Compiling_and_getting_started#Running_wxWidgets_projects"}),"diret\xf3rio das bibliotecas do wxWidgets")," nas vari\xe1veis de ambiente.\nPara isso, siga ",Object(r.b)("strong",{parentName:"p"},"UM")," dos m\xe9todos apresentados abaixo:"),Object(r.b)("h4",{id:"m\xe9todo-i-recomendado"},Object(r.b)("em",{parentName:"h4"},"M\xe9todo I (recomendado)")),Object(r.b)("p",null,"Insira o seguinte comando no arquivo ",Object(r.b)("strong",{parentName:"p"},"~/.bashrc"),":"),Object(r.b)("pre",null,Object(r.b)("code",Object(n.a)({parentName:"pre"},{className:"language-shell"}),'echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib" >> ~/.bashrc\n')),Object(r.b)("h4",{id:"m\xe9todo-ii-n\xe3o-recomendado"},Object(r.b)("em",{parentName:"h4"},"M\xe9todo II (n\xe3o recomendado)")),Object(r.b)("div",{className:"admonition admonition-warning alert alert--danger"},Object(r.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-heading"}),Object(r.b)("h5",{parentName:"div"},Object(r.b)("span",Object(n.a)({parentName:"h5"},{className:"admonition-icon"}),Object(r.b)("svg",Object(n.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"}),Object(r.b)("path",Object(n.a)({parentName:"svg"},{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})))),"Cuidado!")),Object(r.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-content"}),Object(r.b)("p",{parentName:"div"},"Utilizando esse m\xe9todo os passos abaixo devem ser executados ",Object(r.b)("strong",{parentName:"p"},"todas as vezes")," que voc\xea quiser abrir o PSP-UFU."))),Object(r.b)("ol",null,Object(r.b)("li",{parentName:"ol"},"Abra o terminal e acesse o diret\xf3rio onde est\xe1 instalado o PSP-UFU:")),Object(r.b)("pre",null,Object(r.b)("code",Object(n.a)({parentName:"pre"},{className:"language-shell"}),"cd /usr/local/bin\n")),Object(r.b)("ol",{start:2},Object(r.b)("li",{parentName:"ol"},"Insira as bibliotecas compartilhadas do wxWidgets nas vari\xe1veis de ambiente:")),Object(r.b)("pre",null,Object(r.b)("code",Object(n.a)({parentName:"pre"},{className:"language-shell"}),"export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib\n")),Object(r.b)("ol",{start:3},Object(r.b)("li",{parentName:"ol"},"Ent\xe3o, execute o PSP-UFU na ",Object(r.b)("strong",{parentName:"li"},"mesma se\xe7\xe3o")," do terminal:")),Object(r.b)("pre",null,Object(r.b)("code",Object(n.a)({parentName:"pre"},{className:"language-shell"}),"./PSP-UFU\n")),Object(r.b)("div",{className:"admonition admonition-caution alert alert--warning"},Object(r.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-heading"}),Object(r.b)("h5",{parentName:"div"},Object(r.b)("span",Object(n.a)({parentName:"h5"},{className:"admonition-icon"}),Object(r.b)("svg",Object(n.a)({parentName:"span"},{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}),Object(r.b)("path",Object(n.a)({parentName:"svg"},{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})))),"Aten\xe7\xe3o!")),Object(r.b)("div",Object(n.a)({parentName:"div"},{className:"admonition-content"}),Object(r.b)("p",{parentName:"div"},"Verifique se o computador possui as unidades de v\xeddeo instaladas corretamente, caso contr\xe1rio, o programa n\xe3o exibir\xe1 a \xe1rea de trabalho para criar e editar diagramas de linha \xfanica ou diagramas de blocos de controle."))))}d.isMDXComponent=!0}}]);