Giter Club home page Giter Club logo

cis5210-module-8's Introduction

cis5210-module-8

Before starting the "quiz" please setup your software to run in NetBeans. Once things are up and running modify the code according to the questions in the quiz.

Setup to run the example code, this may need adjustment based on your compute.

Summary

  • Download and install working JDK 8.
  • Download and install NetBeans
  • Download a generic ZIP/TAR.GZ version of Tomcat9
  • Extract Tomcat into your home directory
  • Open NetBeans and make sure it is using the JDK 8 you installed in the first step.
  • Add a Service -> Server with Tomcat Netbeans
  • Clone the Project using GIT into NetBeans
  • Run the project and it should start the index.html file

Detailed Steps to install the items mentioned in the summary

Java:

Tomcat:

Download Apache Tomcat 9.x from https://tomcat.apache.org/download-90.cgi.  Extract this to your home directory. (Makes sure to download the correct core version for your computer with a ZIP or TAR GZ file, do not install anything Windows Specific). You may need to create a file in the extracted directory. bin/setenv.sh, this is only needed if Tomcat doesn't start in NetBeans.

In this file please add the line.

export JAVA_HOME="PATHTOWHEREYOUINSTALLED JAVA"

NetBeans

  • Download and Install Netbeans from https://netbeans.org 
  • Start Netbeans
  • Click Services
  • Right Click on Servers
  • Click Add Server
  • Select Tomcat
  • Select the directory where you extracted tomcat
  • Click Ok

Load the project from GitHub:

  • Start NetBeans. 
  • Click Team
  • Git
  • Clone...
  • Enter the repository URL: https://github.com/Sepiidae/cis5210-module-8.git (https://github.com/Sepiidae/cis5210-module-8)
  • Click Finish
  • Click Open if prompted. 
  • Click the Play button, the software should start your default web browser after a period of time if doesn't follow this step
  • Open your default browser
  • Visit http://localhost:8080/Module8 
  • You may need to link the project to your installation of Tomcat 9. Right-click on the project and select Properties, Select "Run", Click server and make sure "Tomcat ..." is selected. Click Ok. 
  • Click Run again and see if it starts.

cis5210-module-8's People

Contributors

sepiidae avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.