Skip to content
This repository was archived by the owner on Jan 9, 2021. It is now read-only.

Latest commit

 

History

History
32 lines (23 loc) · 2.23 KB

README.md

File metadata and controls

32 lines (23 loc) · 2.23 KB

Sunrise 🌄

Description 🖼️

Sunrise is a Java weather app. Just select an available city and weather information will be shown.

demo

Setup 🔧

  1. import the project into IntelliJ
  2. download the JavaFX SDK from Gluon website and place it into the sunrise/lib folder
  3. create a new IntelliJ build profile, with the VM Options field set to --module-path ABSOLUTE_PATH\sunrise\lib\javafx-sdk-VERSION\lib --add-modules=javafx.controls,javafx.fxml
  4. create a configuration file named sunrise.conf in the folder sunrise/src/main/resources, containing the text api_key=OPENWEATHER_API_KEY
  5. build and run
  6. create an executable via IntelliJ artifacts (optional)

Notations ❓

  • ABSOLUTE_PATH, the absolute path to the repository
  • VERSION, the version of the downloaded JavaFX SDK
  • OPENWEATHER_API_KEY, the API key of your OpenWeather account

Resources 📚

Name Description Link
OpenWeather API API for weather data website
JavaFX Java platform for development of desktop applications website
json-simple Java library for working with JSON data website
Junit 5 Java testing library website
mockito Java mocking library website