This repository implements a multi-location weather app for traveling business people (but does not solve the TSP). It lets users create schedules that take them to multiple cities or countries throughout their busy days. The app then provides an easy-to-read weather summary for their schedule, instead of just one location. Schedules can easily be edited or deleted, and our APIs support weather querying at any place on earth.
To do this please do the following:
- Open a terminal to somewhere you want to work
- Clone this repo using
git clone https://github.com/btfs2/studious-spork.git - Move into this directory
cd studious-spork - Run either
gradlew eclipseorgradlew ideadepending on your IDE preference- If you have a local gradle install you can use
gradleinstead ofgradlew
- If you have a local gradle install you can use
- Load into your prefered IDE and start programming
This project runs on Windows and UNIX systems. To run,
- Open the repo's root dir in (i.e. the one with the README in it) in a terminal
- Type
./gradlew run - Open the
config.jsonand add your darksky key to the file. You can obtain a darksky key athttps://darksky.net/. Note: this step can be avoided for production versions.
To build and bundle the project please do the following
- Open the repo's root dir in (i.e. the one with the README in it) in a terminal
- Type
./gradlew build - Bundled distributions are now avaliable in
./build/distributions/, and the jar in./build/libs
To build single fatjar containing all dependencies
- Open the repo's root dir in (i.e. the one with the README in it) in a terminal
- Type
./gradlew fatJar - The fatJar will be in
./build/libs
We employed the following external tools in our project:
- Darksky weather API: https://darksky.net/
- Photon location service: https://github.com/komoot/photon