Skip to content

Kelly-515/ISDStudentDemos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ISD :: Davey Demo Labs

First Time Setup

Download and Install IntelliJ ☕

Download Tomcat Server 10.01.36 🐈

Generate a Default Project 🖥️

  • Create a new Project
  • Choose Maven Archetype from the left
  • Set these settings:
    • Name: Project name of your choice
    • Location: Wherever your want
    • Untick Create Git Repository
    • JDK: Click Download JDK
      • Version: 21
      • Vendor: Eclipse Temurin
    • Archetype: Click org.apache.maven.archetypes:maven-archetype-webapp from the dropdown (it's the last one in the list)

Install Smart Tomcat Plugin 😼

  • From the Cogwheel (top right), choose Plugins
  • Search for "Smart Tomcat" and install
  • From the Cogwheel, choose Settings -> Tomcat Server
  • Press the + icon, navigate to the unzipped Tomcat Server folder (go one layer into the unzipped folder)

Run Your First Project 🏃

  • From the Run menu, choose Edit Configurations...
  • Press the + icon, add a new instance of Smart Tomcat
    • Be very careful not to add a different tomcat. It should be named exactly Smart Tomcat
  • Choose the following settings (many of these will be autofilled for you, just visually check they match)
    • Tomcat server: The same unzipped tomcat folder from earlier
    • Catalina base: Ignore this, it will be generated on build
    • Deployment Directory: Navigate to this projects folder, then src -> main -> webapp
    • Use classpath of module: Click the dropdown and choose the one that matches the project name
    • Context path: Type /YourProjectName
    • Server port: 8080
    • Admin port: 8005
    • Don't change anything else
  • Press run, the console should output a url. Click it and you should see this:

Screenshot of console output Screenshot of live server

About

Demo code for students in 41025 Introduction to Software Development

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages