Platform for monitoring and controlling Quality Assurance of a University.
This webapp is the outcome of a the joint project of Software Engineering (CS Bachelor's Degree) and Software Project Management (CS Master Degree) courses at University of Salerno.
The webapp is up and running on...(TBA)
Follow these step:
- Clone this repo:
git clone https://github.com/gps-is-2019/amigo.git
; - Go into amigo directory:
cd amigo
; - Run
./mwnw (or .\mvnw.cmd if you're on windows) clean package
, wait for maven to build; - Run
java -jar target/Amigo-0.0.1-SNAPSHOT.jar
; - Open your browser on
localhost:8080
- Login with "ferrucci@unisa.it","ferrucci" for a GAQD responsible or with "robdeo@unisa.it","dePrisco" for a PQA responsible.
- Master branch contains release-ready only features.
- Develop branch contains multiple stable features.
If you want to add another feature:
git checkout origin/develop
git checkout -b feature/nameOfYourFeature
- Code!
git add -A
git commit -m "Commit message that is good"
git push
(going toorigin/feature/nameOfYourFeature
as default)- Open a PR in GitHub to merge
origin/feature/nameOfYourFeature
toorigin/develop
- If you feature is complete, notify that the branch can be safely deleted. Otherwise, go back to 3.
If you and another amigo are working on the same feature branch but you want to get the changes he pushed yesterday:
- Make sure you are in YOUR (already existing) feature branch. If not:
git checkout feature/nameOfYourFeature
git pull
- Resolve possible conflicts. Ask if you are in trouble. A common solution is:
git stash
to save your local changes in a local secure stackgit pull
git stash pop
to reapply your local changes again
If you are working with your feature branch but you want to get something new from develop branch:
- Make sure you are in YOUR (already existing) feature branch. If not:
git checkout feature/nameOfYourFeature
git merge origin/develop
- Resolve possible conflicts. Ask if you are in trouble.
Follow this: https://chris.beams.io/posts/git-commit/
, especially points 2, 3, 4, 5.
Checkstyle is enabled as a Maven plugin, so in order to launch it there are two ways:
- Run directly its Maven goal:
mvn checkstyle:check
- Run during the validate lifecycle:
mvn validate
. Remember that validate is executed BEFOREmvn compile
, so the check is done before compiling the source code with javac; however, violations will not stop the build