-
Notifications
You must be signed in to change notification settings - Fork 0
seattle-beach/weatherbus-weather
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
To get started: 1. Install JDK 8. (Newer versions will not work.) On OS X with Homebrew, run these commands: ``` $ brew tap AdoptOpenJDK/openjdk $ brew cask install adoptopenjdk8 ``` 2. Create .envrc as follows: export WUNDERGROUND_API_KEY=<your API key> export WUNDERGROUND_ENDPOINT=http://api.wunderground.com export FORECAST_API_KEY=<your API key> export FORECAST_ENDPOINT=https://api.forecast.io/forecast export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home export PATH=$JAVA_HOME/bin:$PATH (Note: Seattle Beach members can obtain API keys from weather_envrc on Google Drive.) 3. Try to build and run 1. `$ ./gradlew assemble` 2. `java -jar build/libs/weatherbus-weather-0.0.1-SNAPSHOT.jar` IntelliJ setup: (Note: this does not currently work unless you're running IntelliJ itself on an old version of Java. Gradle needs to be upgraded before newer versions will work.) 1. Launch IntelliJ from within the repo root: `idea .` 2. Import the gradle file: 1. Import Project from the intellij splash screen 2. Select build.gradle from the repo root 3. Accept the defaults 4. Set the project SDK: 1. Select File -> Project Structure 2. Select Project Settings/Project 3. Set Project SDK to JDK 8 (probably in /Library/Java/JavaVirtualMachines). 3. Tell compiler that lombok is a thing 1. Preferences -> Plugins -> Install 2. Install lombok plugin 4. Enable annotation processing 1. IntelliJ Idea -> Preferences 2. Build, Execution, Deployment -> Compiler -> Annotation Processors 3. Check "Enable annotation processing"
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published