View Code? Open in Web Editor
NEW
This project forked from zipcodecore/sleuthsammy.maven
License: Mozilla Public License 2.0
sleuthsammy.maven's Introduction
- Purpose
- To demonstrate database interactions using
JPA
and minimal Spring
- Description
- Use the
MainApplication
to serve the webserver on localhost:8080
.
- If
8080
is unavailable because it is occupied by another application, kill the application on the port by following the instructions below.
- Navigate to the root directory of this project
- Execute the command below to ensure the
kill-port.sh
file has executable privileges.
- Execute the command below to kill the application running on
localhost:8080
Part 1 - Forking the Project
- To fork the project, click the
Fork
button located at the top right of the project.
Part 2 - Navigating to forked Repository
- Navigate to your github profile to find the newly forked repository.
- Copy the URL of the project to the clipboard.
Part 3 - Cloning forked repository
- Clone the repository from your account into the
~/dev
directory.
- if you do not have a
~/dev
directory, make one by executing the following command:
- navigate to the
~/dev
directory by executing the following command:
- clone the project by executing the following command:
git clone https://github.com/MYUSERNAME/NAMEOFPROJECT
- Ensure that the tests run upon opening the project.
- You should see
Tests Failed: ${number-of-tests} of ${number-of-tests} tests
- Execute the command below to run
JUnit
tests from the command line.
mvn package -Dmaven.test.failure.ignore=true
Part 1 - Pushing local changes to remote repository
- from a terminal navigate to the root directory of the cloned project.
- from the root directory of the project, execute the following commands:
- add all changes
- commit changes to be pushed
git commit -m 'I have added changes'
- push changes to your repository
Part 2 - Submitting assignment
- from the browser, navigate to the forked project from your github account.
- click the
Pull Requests
tab.
- select
New Pull Request
sleuthsammy.maven's People
Contributors