{"id":2935,"date":"2020-08-27T16:00:56","date_gmt":"2020-08-27T20:00:56","guid":{"rendered":"http:\/\/cs4760.csl.mtu.edu\/2021\/?page_id=2935"},"modified":"2020-11-29T11:37:45","modified_gmt":"2020-11-29T16:37:45","slug":"project-assignment-17-first-deployment","status":"publish","type":"page","link":"https:\/\/cs4760.csl.mtu.edu\/2022\/assignments\/cs4760-assignments\/project\/project-assignment-17-first-deployment\/","title":{"rendered":"Project Assignment 17 &#8211; First Deployment"},"content":{"rendered":"\n<p>In this assignment you will make your first deployment to the production tomcat severer. <\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Reading List<\/h1>\n\n\n\n<p>To prepare for this assignment, read:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"..\/..\/..\/..\/lectures\/deploying-web-apps\/\" target=\"_blank\" rel=\"noreferrer noopener\">Deploying Web Apps Lecture<\/a><\/li><li>Tomcat Credential file, located in your team\/group directory adjacent to your team www directory.  <\/li><\/ul>\n\n\n\n<h1 class=\"wp-block-heading\">Assignment Description <\/h1>\n\n\n\n<p>After reading the deployment lecture and tomcat credential file, deploy to production tomcat. The app is not expected to be completed. <\/p>\n\n\n\n<p>If you have difficulties with deployment:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Check the log file in logs\/ directory adjacent to the webapp\/ directory<\/li><li>Check that tomcat is running by pointing the browser to ROOT url.<\/li><li>Double check your dataSource configurations in application.yml file<\/li><li>Even if you app does not use a database, you should still configure a dataStore because Grails looks for the dataSource on deployment. The dataStore can be in memory as during development. <\/li><li>Double check server: context: setting in application.yml<\/li><li>Be sure to start the tomcat server using sudo systemctrl<\/li><li>If you cannot start the tomcat server, check your sudo permissions<\/li><\/ul>\n\n\n\n<p> Contact me if none of the above does not help. <\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Submit on Canvas and Due Date<\/h1>\n\n\n\n<p>Submit on canvass the URL for deployed app by the end of the first week after Spring Break. <\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Grading Rubric<\/h1>\n\n\n\n<p>This assignment is evaluated by promptness and completeness, i.e. is your app deployed.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Prepare for Next Assignment<\/h1>\n\n\n\n<p>You next assignment is to prepare for your Final Design Presentation. Read:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"..\/..\/..\/..\/assignments\/cs4760-assignments\/project\/project-assignment-18-final-design-presentation\/\" target=\"_blank\" rel=\"noreferrer noopener\">Project Assignment 18 \u2013 Final Design Presentation<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In this assignment you will make your first deployment to the production tomcat severer. Reading List To prepare for this assignment, read: Deploying Web Apps Lecture Tomcat Credential file, located in your team\/group directory adjacent to your team www directory. Assignment Description After reading the deployment lecture and tomcat credential file, deploy to production tomcat. [&hellip;]<\/p>\n","protected":false},"author":61,"featured_media":0,"parent":82,"menu_order":17,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2935","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/cs4760.csl.mtu.edu\/2022\/wp-json\/wp\/v2\/pages\/2935","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cs4760.csl.mtu.edu\/2022\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cs4760.csl.mtu.edu\/2022\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cs4760.csl.mtu.edu\/2022\/wp-json\/wp\/v2\/users\/61"}],"replies":[{"embeddable":true,"href":"https:\/\/cs4760.csl.mtu.edu\/2022\/wp-json\/wp\/v2\/comments?post=2935"}],"version-history":[{"count":6,"href":"https:\/\/cs4760.csl.mtu.edu\/2022\/wp-json\/wp\/v2\/pages\/2935\/revisions"}],"predecessor-version":[{"id":3371,"href":"https:\/\/cs4760.csl.mtu.edu\/2022\/wp-json\/wp\/v2\/pages\/2935\/revisions\/3371"}],"up":[{"embeddable":true,"href":"https:\/\/cs4760.csl.mtu.edu\/2022\/wp-json\/wp\/v2\/pages\/82"}],"wp:attachment":[{"href":"https:\/\/cs4760.csl.mtu.edu\/2022\/wp-json\/wp\/v2\/media?parent=2935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}