Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.12 KB

README.md

File metadata and controls

41 lines (34 loc) · 1.12 KB

News Hub (monolithic version)

A simple hub of news developed for academic purposes.


Requirements

  • Java 8
  • Grails 5.1.3
  • Gradle 7.4.2

Setup (Suggested)

  • Install sdkman with https://sdkman.io/install guide.
  • Install Java 8, execute sdk install java 8.0.332-zulu in console.
  • Install Grails 5.1.3, execute sdk install grails 5.1.3 in console.
  • Install Gradle 7.4.2, execute sdk install gradle 7.4.2 in console.

Run Application

After cloning the repository move to news-hub-monolithic and start running the app locally with the following command grails run-app. If the application setup is ok you should see the following message and the application listening on 8080 port.

news-hub-monolithic $grails run-app

| Running application...
Grails application running at http://localhost:8080 in environment: development
<===========--> 85% EXECUTING [16s]
> :bootRun

Run Tests

Run all tests, with the following command:

make run-tests

Run all tests with code coverage + report, with the following command:

make run-tests-coverage