{"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":"2024-10-12T05:52:25","modified_gmt":"2024-10-12T09:52:25","slug":"project-assignment-17-first-deployment","status":"publish","type":"page","link":"https:\/\/cs4760.csl.mtu.edu\/2025\/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\">\n<li><a href=\"..\/..\/..\/..\/lectures\/deploying-web-apps\/\" target=\"_blank\" rel=\"noreferrer noopener\">Deploying Web Apps Lecture<\/a><\/li>\n\n\n\n<li>Tomcat Credential file, located in your team\/group directory adjacent to your team www directory.  <\/li>\n<\/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\">\n<li>Check the log file in logs\/ directory adjacent to the webapp\/ directory<\/li>\n\n\n\n<li>Check that tomcat is running by pointing the browser to ROOT url.<\/li>\n\n\n\n<li>Double check your dataSource configurations in application.yml file<\/li>\n\n\n\n<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>\n\n\n\n<li>Double check server: context: setting in application.yml<\/li>\n\n\n\n<li>Be sure to start the tomcat server using sudo systemctrl<\/li>\n\n\n\n<li>If you cannot start the tomcat server, check your sudo permissions<\/li>\n<\/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\">\n<li><a href=\"..\/..\/..\/..\/assignments\/cs4760-assignments\/project\/project-assignment-18-final-design-presentation\/\" target=\"_blank\" rel=\"noreferrer noopener\">Project Assignment 18 \u2013 Implementation &amp; Design Presentation<\/a><\/li>\n<\/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: Assignment Description After reading the deployment lecture and tomcat credential file, deploy to production tomcat. The app is not expected to be completed. If you have difficulties with deployment: Contact me if none [&hellip;]<\/p>\n","protected":false},"author":62,"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\/2025\/wp-json\/wp\/v2\/pages\/2935","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cs4760.csl.mtu.edu\/2025\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cs4760.csl.mtu.edu\/2025\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cs4760.csl.mtu.edu\/2025\/wp-json\/wp\/v2\/users\/62"}],"replies":[{"embeddable":true,"href":"https:\/\/cs4760.csl.mtu.edu\/2025\/wp-json\/wp\/v2\/comments?post=2935"}],"version-history":[{"count":7,"href":"https:\/\/cs4760.csl.mtu.edu\/2025\/wp-json\/wp\/v2\/pages\/2935\/revisions"}],"predecessor-version":[{"id":4086,"href":"https:\/\/cs4760.csl.mtu.edu\/2025\/wp-json\/wp\/v2\/pages\/2935\/revisions\/4086"}],"up":[{"embeddable":true,"href":"https:\/\/cs4760.csl.mtu.edu\/2025\/wp-json\/wp\/v2\/pages\/82"}],"wp:attachment":[{"href":"https:\/\/cs4760.csl.mtu.edu\/2025\/wp-json\/wp\/v2\/media?parent=2935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}