Skip to content

Setup Instructions

Colin edited this page May 10, 2019 · 7 revisions

Using Apache Tomcat as the Web container

Setup Instructions:

  1. Clone repo:

  2. In Eclipse, create a new Gradle project (get the eclipse gradle plugin if you haven't -- you may have to switch to a newish version of Eclipse)

  3. Gradle --> Refresh Gradle Project to have gradle run and fetch dependencies.

  4. Install Apache Tomcat 9.0. Add a Tomcat server on localhost to Eclipse.

  5. Go to project properties --> Project Facets, and check the box 'Dynamic Web Module', and then Apply.

  6. Set Project --> Targeted runtime --> Apache Tomcat 9.0

  7. Set Server --> Tomcat v9.0 Server at localhost.

  8. Run as --> Run on Server

Database:

A MySQL database server needs to be set up to see the database functionality (no mock-up exists atm)

Todo: SQL script to CREATE a local database for development purposes.

Known project caveats:

When ever you run the gradle script, you need to re-set Project Properties --> Targeted run times --> Tomcat 9.0

Clone this wiki locally