{"id":73,"date":"2019-10-07T10:55:09","date_gmt":"2019-10-07T10:55:09","guid":{"rendered":"https:\/\/docs.theironnetwork.org\/embryo\/?page_id=73"},"modified":"2019-10-15T03:26:58","modified_gmt":"2019-10-15T03:26:58","slug":"installation-2","status":"publish","type":"page","link":"https:\/\/docs.theironnetwork.org\/embryo\/installation-2\/","title":{"rendered":"Installation"},"content":{"rendered":"\n<h6 id=\"installation-prerequisites\">Installation prerequisites:<a href=\"#installation-prerequisites\"><\/a><\/h6>\n\n\n\n<ol><li class=\"\"><strong>Install Node.js and NPM:<\/strong> Download Node.js from official <a href=\"https:\/\/nodejs.org\/en\/download\/\" target=\"_blank\" rel=\"noreferrer noopener\">website<\/a> and install it on your system. NPM comes bundled with Node.js.<\/li><li class=\"\"><strong>Install NPM packages:<\/strong> Once you install node on your system, open terminal or command prompt on your system, go to your project root directory &amp; run the following command, it will download all the dependencies under node_modules folder. Please wait for it to finish.<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">npm install<br><\/pre>\n\n\n\n<p><strong>Before starting development server please make sure you have copied all the project files including hidden files too like .babelrc and .eslintrc<\/strong>\u200c<\/p>\n\n\n\n<h5 id=\"running-development-server\">Running development server:<a href=\"#running-development-server\"><\/a><\/h5>\n\n\n\n<p>Run following command to run dev server, wait for it to finish and once it finishes access <a href=\"http:\/\/localhost:3000\/\" target=\"_blank\" rel=\"noreferrer noopener\"><code>http:\/\/localhost:3000\/<\/code><\/a> to run your app\/project on browser. The app will automatically reload if you make any changes in any of the source file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">npm start<\/pre>\n\n\n\n<h5 id=\"production-building\">Production building:<a href=\"#production-building\"><\/a><\/h5>\n\n\n\n<p>Run following command to build the project and wait for it to finish. The build will be stored in the <code>build\/<\/code> directory.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">npm run build<\/pre>\n<div class=\"pld-like-dislike-wrap pld-template-1\">\n    <div class=\"pld-like-wrap  pld-common-wrap\">\n    <a href=\"javascript:void(0);\" class=\"pld-like-trigger pld-like-dislike-trigger \" title=\"\" data-post-id=\"73\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-ip-check=\"0\" data-user-check=\"1\">\n                        <i class=\"fas fa-thumbs-up\"><\/i>\n                    <\/a>\n    <span class=\"pld-like-count-wrap pld-count-wrap\">2    <\/span>\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\n    <a href=\"javascript:void(0);\" class=\"pld-dislike-trigger pld-like-dislike-trigger \" title=\"\" data-post-id=\"73\" data-trigger-type=\"dislike\" data-ip-check=\"0\" data-restriction=\"cookie\" data-user-check=\"1\">\n                        <i class=\"fas fa-thumbs-down\"><\/i>\n                    <\/a>\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\">1<\/span>\n<\/div><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Installation prerequisites: Install Node.js and NPM: Download Node.js from official website and install it on your system. NPM comes bundled with Node.js. Install NPM packages: Once you install node on your system, open terminal or command prompt on your system, go to your project root directory &amp; run the following command, it will download all [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":13,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/pages\/73"}],"collection":[{"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/comments?post=73"}],"version-history":[{"count":5,"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/pages\/73\/revisions"}],"predecessor-version":[{"id":83,"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/pages\/73\/revisions\/83"}],"wp:attachment":[{"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/media?parent=73"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}