Skip to content

Desktop application for checking weather forecast

Notifications You must be signed in to change notification settings

artudi54/WeatherApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeatherApp

WeatherApp i a weather application provading current weather and weather forecast. It uses RESTful API provided by https://openweathermap.org/. It features displaying current weather or three hour forecast for next 5 days, based on city, global coordinates or internal city ID.

Application is written with Java and OpenJFX. Minimal supported java version is 10. Preview (Windows and Linux):

Releases

To get complete and runnable application download the release targeted for your platform:

Windows

Linux

All releases

Build and run

Note: Java 10 or higher is required to build and run this package.

Getting the source code

To get source code use the following commands:

git clone https://github.com/artudi54/WeatherApp
cd WeatherApp

Compiling and running the application

To compile and distribute the application type:

mvn package

It will create 'WeatherApp' subdirectory containing ready to run application. To run it open 'WeatherApp.jar' file in your favourite file manager or use command:

java -jar WeatherApp/WeatherApp.jar

Note: If you are using linux systems it may be neccesary to add executable permissions to file first (if starting from file manager).

chmod a+x WeatherApp/WeatherApp.jar

To run the code using maven enter:

mvn compile exec:java

Importing the project in IntelliJ-IDEA

In intelliJ menu go to:

Import project

Then navigate to 'WeatherApp' directory and select 'pom.xml'. Complete the import dialog selecting JDK 10 or newer. After the project is open perform:

Add Configuration.. -> + -> Maven

Enter the name of the configuration (e.g. Weather App) and add folowing arguments to 'Command line:'

-q compile exec:java

Accept configuration settings. Your project should be fully configured and runnable now (Shift+F10).

About

Desktop application for checking weather forecast

Resources

Stars

Watchers

Forks

Packages

No packages published