This project accompanies a video series created to help my Southern New Hampshire University CS320 class.
If you want to follow along with the video series (highly encouraged), clone the starter branch. The master branch is the end result of the video series.
You can find the video series at my YouTube playlist: https://www.youtube.com/playlist?list=PL5Qak8r8wDYplRHuvXAm7IDMmoQymDd-8
The video series includes:
- Video 1: Cloning this project and importing it into Eclipse
- Video 2: Coding and testing the
Contactentity - Video 3: Coding and testing the
ContactServiceentity repository
Important
You can safely ignore this section if you are using SNHU's Apporto virtual desktop.
If you choose to follow along in Eclipse on your personal computer, you should ensure these prerequisites are met:
- You have Java 8 or later installed
- You have a recent version of Gradle installed
- You have a recent version of Git installed
- You have installed Eclipse IDE for Java Developers
Caution
Only follow these instructions if you are using your personal computer. If you are using SNHU's Apporto virtual desktop, follow the instructions in the video.
-
Using a Bash/Zsh terminal, navigate to the directory you want to store your project in. For example:
mkdir ~/projects cd projects
-
Clone the project:
git clone https://github.com/cbush06/cs320.git
-
Checkout the starter branch:
git checkout starter
-
Import the Gradle project into Eclipse:
- Open Eclipse
- Choose
File > Import... - Select
Grade > Existing Gradle Project - Select the cloned
cs320directory forProject Root Directory - Click
Finish - Choose
Window > Show View > Other... - Choose
Gradle > Gradle Tasks - Expand
cs320 > build - Double-click on the
buildtask - Choose
Window > Show View > Other... - Select
Java > Package Explorer(I suggest replacing Project Explorer with this) - Expand
cs320in thePackage Explorer - Right-click on
src/test/java, chooseRun As > JUnit Test - If the sample test passes, you're good to go