{"id":31,"date":"2019-10-07T09:35:49","date_gmt":"2019-10-07T09:35:49","guid":{"rendered":"https:\/\/docs.theironnetwork.org\/embryo\/?page_id=31"},"modified":"2019-10-15T09:28:50","modified_gmt":"2019-10-15T09:28:50","slug":"installation","status":"publish","type":"page","link":"https:\/\/docs.theironnetwork.org\/embryo\/installation\/","title":{"rendered":"Installation"},"content":{"rendered":"\n<h6 id=\"development-prerequisites\"><strong>Development Prerequisites<\/strong><\/h6>\n\n\n\n<p><strong>Step 1: Install Node.js and NPM<\/strong> : Download Node.js from <a rel=\"noreferrer noopener\" href=\"https:\/\/nodejs.org\/en\/download\/\" target=\"_blank\">official website<\/a> and Install it on your system. NPM comes bundled with Node.js<\/p>\n\n\n\n<div class=\"custom-sec-wrap mb-4\">\n<a href=\"https:\/\/nodejs.org\/en\/download\" class=\"link-wrap\">\n<div class=\"content-wrap\">\n<h6>Download | Node.js<\/h6>\n<p style=\"font-weight:400;\">Node.js\u00ae is a JavaScript runtime built on Chrome&#8217;s V8 JavaScript engine.<\/p>\n<small>nodejs.org<\/small>\n<\/div>\n<div style=\"background-image:url('https:\/\/nodejs.org\/static\/images\/logo-hexagon-card.png');\" class=\"ironthm-img-item\"><\/div>\n<\/a>\n<\/div>\n\n\n\n<p><strong>Step 2: Angular-cli<\/strong> : Install angular-cli by executing <code>npm install -g @angular\/cli<\/code> command on your your terminal or command prompt. For more details visit <\/p>\n\n\n\n<div class=\"custom-sec-wrap mb-4\">\n<a href=\"https:\/\/github.com\/angular\/angular-cli\" class=\"link-wrap\">\n<div class=\"content-wrap\">\n<h6>angular\/angular-cli<\/h6>\n<p style=\"font-weight:400;\">CLI tool for Angular. Contribute to angular\/angular-cli development by creating an account on GitHub.<\/p>\n<small>github.com<\/small>\n<\/div>\n<div style=\"background-image:url('https:\/\/avatars2.githubusercontent.com\/u\/139426?s=400&amp;v=4');\" class=\"ironthm-img-item\"><\/div>\n<\/a>\n<\/div>\n\n\n\n<p><strong>Step 3: Install npm packages<\/strong> : In terminal go to your project root directory and run <code>npm install<\/code> command, It will download all the dependencies under node_modules folder.\u200c<\/p>\n\n\n\n<h5 id=\"running-development-server\"><strong>Running development server<\/strong><\/h5>\n\n\n\n<p>Run <code>ng serve<\/code> command to run dev server and access <code>http:\/\/localhost:4200\/<\/code> to run your app\/project on browser. The app will automatically reload if you change any of the source files.\u200c<\/p>\n\n\n\n<p>As <code>ng serve<\/code> runs watch command which detects any change in project files so it will automatically reload your app on browser if you make any changes in files.\u200c<\/p>\n\n\n\n<h5 id=\"production-building\"><strong>Production building<\/strong><\/h5>\n\n\n\n<p>Run <code>ng build<\/code> to build the project. The build will be stored in the <code>dist\/<\/code> directory. Use the <code>-prod<\/code> flag for a production build. Use <code>--aot<\/code> flag for a AoT build. For example<strong>:<\/strong> <code>ng build --prod --aot<\/code>\u200c<\/p>\n\n\n\n<h6 id=\"further-help\"><strong>Further help<\/strong><\/h6>\n\n\n\n<p>\u200cTo get more help on the <code>angular-cli<\/code> use <code>ng --help<\/code> or go check out <\/p>\n\n\n\n<div class=\"custom-sec-wrap mb-4\">\n<a href=\"https:\/\/github.com\/angular\/angular-cli\" class=\"link-wrap\">\n<div class=\"content-wrap\">\n<h6>angular\/angular-cli<\/h6>\n<p style=\"font-weight:400;\">CLI tool for Angular. Contribute to angular\/angular-cli development by creating an account on GitHub.<\/p>\n<small>github.com<\/small>\n<\/div>\n<div style=\"background-image:url('https:\/\/avatars2.githubusercontent.com\/u\/139426?s=400&amp;v=4');\" class=\"ironthm-img-item\"><\/div>\n<\/a>\n<\/div>\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=\"31\" 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\">    <\/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=\"31\" 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\">5<\/span>\n<\/div><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Development Prerequisites Step 1: Install Node.js and NPM : Download Node.js from official website and Install it on your system. NPM comes bundled with Node.js Download | Node.js Node.js\u00ae is a JavaScript runtime built on Chrome&#8217;s V8 JavaScript engine. nodejs.org Step 2: Angular-cli : Install angular-cli by executing npm install -g @angular\/cli command on your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/pages\/31"}],"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=31"}],"version-history":[{"count":5,"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/pages\/31\/revisions"}],"predecessor-version":[{"id":285,"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/pages\/31\/revisions\/285"}],"wp:attachment":[{"href":"https:\/\/docs.theironnetwork.org\/embryo\/wp-json\/wp\/v2\/media?parent=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}