Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.44 KB

README.md

File metadata and controls

42 lines (27 loc) · 1.44 KB

Aerie Mission Model Template

This repo provides an Aerie mission model template for a fictitious mission called FireSat. It is meant as a starting point for building a new mission model in Aerie.

Prerequisites

  • Install OpenJDK Temurin LTS. If you're on OSX you can use brew:

    brew install --cask temurin

    Make sure you update your JAVA_HOME environment variable. For example with Zsh you can update your .zshrc with:

    export JAVA_HOME="/Library/Java/JavaVirtualMachines/temurin-19.jdk/Contents/Home"
  • Set GITHUB_USER and GITHUB_TOKEN environment variables so you can download the Aerie Maven packages from the GitHub Maven package registry. For example with Zsh you can update your .zshrc with:

    export GITHUB_USER=""
    export GITHUB_TOKEN=""

Building

To build a mission model JAR you can do:

./gradlew build --refresh-dependencies # Outputs 'build/libs/firesat.jar'

You can then upload the JAR to Aerie using either the UI or API. If you want to just try the model without building it yourself you can download it here.

Testing

To run unit tests under ./src/test against your mission model you can do:

./gradlew test