{"id":123497,"date":"2020-06-26T01:22:04","date_gmt":"2020-06-25T17:22:04","guid":{"rendered":"http:\/\/4563.org\/?p=123497"},"modified":"2020-06-26T01:22:04","modified_gmt":"2020-06-25T17:22:04","slug":"flatris%ef%bc%9a%e6%90%ad%e5%bb%ba%e4%b8%80%e4%b8%aa%e4%bf%84%e7%bd%97%e6%96%af%e6%96%b9%e5%9d%97%e5%9c%a8%e7%ba%bf%e5%af%b9%e6%88%98%e5%b9%b3%e5%8f%b0","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=123497","title":{"rendered":"flatris\uff1a\u642d\u5efa\u4e00\u4e2a\u4fc4\u7f57\u65af\u65b9\u5757\u5728\u7ebf\u5bf9\u6218\u5e73\u53f0"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>etc\u5c0f\u53f7<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>flatris\uff1a\u642d\u5efa\u4e00\u4e2a\u4fc4\u7f57\u65af\u65b9\u5757\u5728\u7ebf\u5bf9\u6218\u5e73\u53f0<\/h3>\n<p>  \t\t\u9879\u76ee\u5730\u5740\uff1ahttps:\/\/github.com\/skidding\/flatris<br \/>  \u73af\u5883\uff1anodsjs<br \/>  \u670d\u52a1\u5668\u7cfb\u7edf\uff1acentos7<\/p>\n<p>  \u9996\u5148\u66f4\u65b0\u7cfb\u7edf<\/p>\n<p>  yum -y update<br \/>  \u7136\u540e\u5b89\u88c5\u73af\u5883<\/p>\n<p>  yum -y install nodejs<br \/>  \u5b89\u88c5yarn<\/p>\n<p>  npm install yarn<br \/>  \u62c9\u53d6\u4e00\u4e0b\u9879\u76ee\u6587\u4ef6\uff0c\u6ca1\u5b89\u88c5git\u7684\u5148\u5b89\u88c5git<\/p>\n<p>  yum -y install git<br \/>  git clone https:\/\/github.com\/skidding\/flatris<br \/>  \u8fdb\u5165\u9879\u76ee\u6587\u4ef6\u5939<\/p>\n<p>  cd flatris<br \/>  \u6587\u4ef6\u91cd\u547d\u540d<\/p>\n<p>  mv .env.example.js .env.js<br \/>  \u5b89\u88c5<\/p>\n<p>  yarn install<br \/>  \u6784\u5efa<\/p>\n<p>  yarn build<br \/>  \u542f\u52a8<\/p>\n<p>  yarn start<br \/>  \u9ed8\u8ba4\u8fd0\u884c\u57283000\u7aef\u53e3\uff0c\u8bf7\u5c06\u5bf9\u5e94\u7684\u9632\u706b\u5899\u6253\u5f00\uff0c\u6ca1\u6709\u7279\u6b8a\u8981\u6c42\u7684\u8bdd\uff0c\u5df2\u7ecf\u642d\u5efa\u5b8c\u6210<\/p>\n<p>  \u5982\u679c\u8981\u89e3\u51b3\u540e\u53f0\u8fd0\u884c\u7684\u95ee\u9898\uff0c\u5148\u6309ctrl+c\u9000\u51fa\uff0c\u7136\u540e\u5b89\u88c5screen<\/p>\n<p>  yum -y install screen<br \/>  \u521b\u5efa\u4e00\u4e2a\u540e\u53f0\u7ec8\u7aef<\/p>\n<p>  screen -S flatris<br \/>  \u7ee7\u7eed\u542f\u52a8<\/p>\n<p>  yarn start<br \/>  \u8fd9\u6837\u5373\u4f7f\u4f60\u5173\u95edssh\uff0c\u5bf9\u6218\u5e73\u53f0\u4e5f\u4f1a\u7ee7\u7eed\u8fd0\u884c<\/p>\n<p>  \u4f46\u662f\u6211\u4eec\u53ef\u4ee5\u770b\u5230\uff0c\u73b0\u5728\u6211\u4eec\u7528\u7684\u662fip+\u7aef\u53e3\u7684\u65b9\u5f0f\u8bbf\u95ee\u7684\uff0c\u600e\u6837\u4f7f\u7528\u57df\u540d\u8bbf\u95ee\u5462<\/p>\n<p>  \u6211\u4f7f\u7528\u7684\u65b9\u6cd5\u662f\u53cd\u4ee3<\/p>\n<p>  \u7531\u4e8e\u6211\u5df2\u7ecf\u5b89\u88c5\u597d\u4e86\u5b9d\u5854\u9762\u677f\uff0c\u6240\u4ee5\u76f4\u63a5\u521b\u5efa\u7ad9\u70b9\uff0c\u70b9\u51fb\u53cd\u5411\u4ee3\u7406<\/p>\n<p>  \u76ee\u6807URL\u8bbe\u7f6e\u4e3ahttp:\/\/127.0.0.1:3000<\/p>\n<p>  \u4fdd\u5b58\u4e4b\u540e\uff0c\u8bbf\u95ee\u7ad9\u70b9\u57df\u540d\u5c31\u80fd\u6253\u5f00\u5bf9\u6218\u5e73\u53f0\u4e86<\/p>\n<p>  \u6f14\u793a\u7ad9\u70b9\uff1ahttps:\/\/game.v2ex.ltd\/<\/p>\n<p>  \u989d\u5916\u7684\u95ee\u4e00\u53e5\uff0c\u6709\u61c2\u4ee3\u7801\u7684\u5927\u4f6c\u80fd\u770b\u770b\uff0c\u6709\u6c49\u5316\u7684\u601d\u8def\u5417\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>etc\u5c0f\u53f7 \u5927\u4f6c\u6709\u8bdd\u8bf4 : fla&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/123497"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=123497"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/123497\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=123497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=123497"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=123497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}