{"id":470,"date":"2019-09-03T09:05:48","date_gmt":"2019-09-03T09:05:48","guid":{"rendered":"https:\/\/docs.theironnetwork.org\/vuely\/?page_id=470"},"modified":"2019-09-24T08:43:46","modified_gmt":"2019-09-24T08:43:46","slug":"deployment-2","status":"publish","type":"page","link":"https:\/\/docs.theironnetwork.org\/vuely\/deployment-2\/","title":{"rendered":"Deployment"},"content":{"rendered":"\n<h5>Build and deploy a node express server to Heroku<\/h5>\n\n\n\n<p>1.Move to project directory and Initialize a git repo and commit your work.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/ in terminal<br>demo$ git init<br>demo$ git add -am \u201cInitial commit\u201d<\/pre>\n\n\n\n<p>2. Create account and login on Heroku.<\/p>\n\n\n\n<p>3. Create an app, and push your work to Heroku.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/ in terminal<br>demo$ heroku login<br>\/\/ follow prompts to enter your Heroku login credentials<br>demo$ heroku create <br>\/\/ you should see your server\u2019s url after this has finished.<br>demo$ git push heroku master<br><\/pre>\n\n\n\n<p>4. Open your brand new web server on your favourite browser.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/ in terminal<br>demo$ heroku open<\/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=\"470\" 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=\"470\" 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\"><\/span>\n<\/div><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Build and deploy a node express server to Heroku 1.Move to project directory and Initialize a git repo and commit your work. \/\/ in terminaldemo$ git initdemo$ git add -am \u201cInitial commit\u201d 2. Create account and login on Heroku. 3. Create an app, and push your work to Heroku. \/\/ in terminaldemo$ heroku login\/\/ follow [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":50,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/pages\/470"}],"collection":[{"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/comments?post=470"}],"version-history":[{"count":1,"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/pages\/470\/revisions"}],"predecessor-version":[{"id":472,"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/pages\/470\/revisions\/472"}],"wp:attachment":[{"href":"https:\/\/docs.theironnetwork.org\/vuely\/wp-json\/wp\/v2\/media?parent=470"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}