{"id":36,"date":"2019-10-09T05:13:40","date_gmt":"2019-10-09T05:13:40","guid":{"rendered":"https:\/\/docs.theironnetwork.org\/kava\/?page_id=36"},"modified":"2019-10-21T05:31:13","modified_gmt":"2019-10-21T05:31:13","slug":"getting-started","status":"publish","type":"page","link":"https:\/\/docs.theironnetwork.org\/kava\/getting-started\/","title":{"rendered":"Getting Started"},"content":{"rendered":"\n<h6 id=\"development-prerequisites\"><strong>Development prerequisites<\/strong><\/h6>\n\n\n\n<ol><li><strong>Install Node.js and NPM:<\/strong> Download Node.js from <a rel=\"noreferrer noopener\" href=\"https:\/\/nodejs.org\/en\/download\/\" target=\"_blank\">https:\/\/nodejs.org\/en\/download\/<\/a> and install it on your system. NPM comes bundled with Node.js<\/li><li><b>angular-cli:<\/b> Install angular-cli by executing <code>npm install -g @angular\/cli <\/code>command on your terminal or command prompt. For more details visit https:\/\/github.com\/angular\/angular-cli<\/li><li><strong>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 the node_modules folder.<\/li><\/ol>\n\n\n\n<h6 id=\"running-development-server\"><strong>Running development server<\/strong><\/h6>\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 the 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 the browser if you make changes in files.\u200c<\/p>\n\n\n\n<h6 id=\"production-building\"><strong>Production building<\/strong><\/h6>\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 an AoT build for example : <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>To get more help on the <code>angular-cli<\/code> use <code>ng --help<\/code> or go check out <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/angular\/angular-cli\" target=\"_blank\">https:\/\/github.com\/angular\/angular-cli<\/a>\u200b<br><\/p>\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=\"36\" 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=\"36\" 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>Development prerequisites Install Node.js and NPM: Download Node.js from https:\/\/nodejs.org\/en\/download\/ and install it on your system. NPM comes bundled with Node.js angular-cli: Install angular-cli by executing npm install -g @angular\/cli command on your terminal or command prompt. For more details visit https:\/\/github.com\/angular\/angular-cli Install npm packages: In terminal go to your project root directory and run [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/docs.theironnetwork.org\/kava\/wp-json\/wp\/v2\/pages\/36"}],"collection":[{"href":"https:\/\/docs.theironnetwork.org\/kava\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.theironnetwork.org\/kava\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.theironnetwork.org\/kava\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.theironnetwork.org\/kava\/wp-json\/wp\/v2\/comments?post=36"}],"version-history":[{"count":5,"href":"https:\/\/docs.theironnetwork.org\/kava\/wp-json\/wp\/v2\/pages\/36\/revisions"}],"predecessor-version":[{"id":131,"href":"https:\/\/docs.theironnetwork.org\/kava\/wp-json\/wp\/v2\/pages\/36\/revisions\/131"}],"wp:attachment":[{"href":"https:\/\/docs.theironnetwork.org\/kava\/wp-json\/wp\/v2\/media?parent=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}