./gradlew build && java -jar build/libs/employeesystem-0.0.1-SNAPSHOT (Name of file from \build\libs)
./gradlew bootBuildImage --imageName={dockerUserName}/employee-system (Image name= docker image name)
docker run {dockerUserName}/employee-system
docker run --publish 8080:8080 {dockerUserName}/employee-system
docker push {dockerUserName}/employee-system
-
Check .gitignore file to make sure \deployments isn't there. Remove if it exist.
-
Push to github.
-
Copy employeesystem-0.0.1-SNAPSHOT.jar file from \build\libs to a directory called \deployments (may have to create)
-
Push to github. Check github to ensure the changes are there.