{"id":185,"date":"2018-01-05T15:44:20","date_gmt":"2018-01-05T07:44:20","guid":{"rendered":"http:\/\/www.inhhh.com\/blog\/?p=185"},"modified":"2018-01-14T23:53:52","modified_gmt":"2018-01-14T15:53:52","slug":"ubuntu-%e5%ae%89%e8%a3%85%e5%bc%80%e6%ba%90%e5%be%ae%e4%bf%a1%ef%bc%88%e6%ba%90%e7%a0%81%e5%ae%89%e8%a3%85%e5%bf%ab%e9%80%9f%e5%ae%89%e8%a3%85%ef%bc%89","status":"publish","type":"post","link":"http:\/\/www.inhhh.com\/blog\/?p=185","title":{"rendered":"Ubuntu \u5b89\u88c5\u5f00\u6e90\u5fae\u4fe1\uff08\u6e90\u7801\u5b89\u88c5\u5feb\u901f\u5b89\u88c5\uff09"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>\u5728\u4e0b\u8f7d\u548c\u8fd0\u884c\u8fd9\u4e2a\u9879\u76ee\u4e4b\u524d\uff0c\u4f60\u9700\u8981\u5728\u7535\u8111\u4e0a\u5b89\u88c5Git\u548cNode.js (\u6765\u81eanpm)\u3002\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165:<\/p>\n<p># \u4e0b\u8f7d\u4ed3\u5e93<br \/>\ngit clone https:\/\/github.com\/geeeeeeeeek\/electronic-wechat.git<br \/>\n# \u8fdb\u5165\u4ed3\u5e93<\/p>\n<p>sudo apt-get install npm<\/p>\n<p>sudo apt<span class=\"hljs-attribute\">-get<\/span> install nodejs<span class=\"hljs-attribute\">-legacy<\/span><\/p>\n<p>cd electronic-wechat<br \/>\n# \u5b89\u88c5\u4f9d\u8d56, \u8fd0\u884c\u5e94\u7528<br \/>\nnpm install<\/p>\n<p>npm start<\/p>\n<p>\u6839\u636e\u4f60\u7684\u5e73\u53f0\u6253\u5305\u5e94\u7528:<\/p>\n<p>npm run build:osx<br \/>\nnpm run build:linux<br \/>\nnpm run build:win<\/p>\n<p>&nbsp;<\/p>\n<p>\/\/\/\/\/<\/p>\n<p>1.\u4e0b\u8f7d\u4ed3\u5e93<\/p>\n<pre class=\"prettyprint\"><code class=\"hljs php has-numbering\">git <span class=\"hljs-keyword\">clone<\/span> https:<span class=\"hljs-comment\">\/\/github.com\/geeeeeeeeek\/electronic-wechat.git<\/span><\/code><\/pre>\n<ul class=\"pre-numbering\">\n<li>1<\/li>\n<\/ul>\n<hr \/>\n<p>2.\u5b89\u88c5 git<\/p>\n<pre class=\"prettyprint\"><code class=\"hljs bash has-numbering\"> <span class=\"hljs-built_in\">sudo<\/span> apt-get install git<\/code><\/pre>\n<ul class=\"pre-numbering\">\n<li>1<\/li>\n<\/ul>\n<hr \/>\n<p>3.\u5b89\u88c5 nodejs<\/p>\n<pre class=\"prettyprint\"><code class=\"hljs lasso has-numbering\">sudo apt<span class=\"hljs-attribute\">-get<\/span> install nodejs\r\nsudo apt<span class=\"hljs-attribute\">-get<\/span> install npm\r\nsudo apt<span class=\"hljs-attribute\">-get<\/span> install node\r\nsudo apt<span class=\"hljs-attribute\">-get<\/span> install nodejs<span class=\"hljs-attribute\">-legacy<\/span><\/code><\/pre>\n<ul class=\"pre-numbering\">\n<li>1<\/li>\n<li>2<\/li>\n<li>3<\/li>\n<li>4<\/li>\n<\/ul>\n<hr \/>\n<p>4.\u8fdb\u5165\u5230\u4e0b\u8f7d\u7684wechat\u7684\u76ee\u5f55<br \/>\n\u6bcf\u4e2a\u4eba\u7684\u4e0b\u8f7d\u5b89\u88c5\u8def\u5f84\u90fd\u662f\u4e0d\u4e00\u6837\u7684\uff0c\u4f60\u6839\u636e\u81ea\u5df1\u4e0b\u8f7d\u7684\u8def\u52b2\u8fdb\u5165\u5230\u5bf9\u5e94\u7684\u6587\u4ef6\u5939<\/p>\n<p>\u7b2c\u4e00\u6b21\u542f\u52a8\u7684\u65f6\u5019\uff0c\u5b89\u88c5\u4f9d\u8d56\uff0c\u8fd0\u884c\u7a0b\u5e8f<\/p>\n<pre class=\"prettyprint\"><code class=\"hljs coffeescript has-numbering\"><span class=\"hljs-built_in\">npm<\/span> install &amp;&amp; <span class=\"hljs-built_in\">npm<\/span> start<\/code><\/pre>\n<ul class=\"pre-numbering\">\n<li>1<\/li>\n<\/ul>\n<p>\u4e4b\u540e\u8981\u542f\u52a8wechat \u7684\u65f6\u5019\u6211\u4eec\u53ea\u9700\u8981\uff0c\u8fdb\u5165\u5230\u76f8\u5e94\u7684\u76ee\u5f55electronic-wechat\u8fd0\u884c\u7a0b\u5e8f\u5373\u53ef\uff1a<\/p>\n<p>e.g.<\/p>\n<pre class=\"prettyprint\"><code class=\"hljs bash has-numbering\"><span class=\"hljs-built_in\">cd<\/span> electronic-wechat\r\nnpm start<\/code><\/pre>\n<ul class=\"pre-numbering\">\n<li>1<\/li>\n<li>2<\/li>\n<\/ul>\n<p>\u8fd9\u6837\u6211\u4eec\u7684\u5fae\u4fe1\u5c31\u5b89\u88c5\u597d\u4e86<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \u5728\u4e0b\u8f7d\u548c\u8fd0\u884c\u8fd9\u4e2a\u9879\u76ee\u4e4b\u524d\uff0c\u4f60\u9700\u8981\u5728\u7535\u8111\u4e0a\u5b89\u88c5Git\u548cNode.js (\u6765\u81eanpm)\u3002\u5728\u547d\u4ee4\u884c\u4e2d\u8f93<\/p>\n<div class=\"more-link\">\n\t\t\t\t <a href=\"http:\/\/www.inhhh.com\/blog\/?p=185\" class=\"link-btn theme-btn\"><span>Read More <\/span> <i class=\"fa fa-caret-right\"><\/i><\/a>\n\t\t\t<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-185","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=185"}],"version-history":[{"count":4,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/185\/revisions"}],"predecessor-version":[{"id":205,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/185\/revisions\/205"}],"wp:attachment":[{"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=185"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.inhhh.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}