Team: Totalled
This is a project that is intended to take in Excel Workbooks of Spending and Team data for a Senior Design Project and analyze, group and create team based Expense Breakdown Excel Workbooks for the Department to use in creating Invoices for the sponsors of projects. We implemented our solution using Kotlin and the Gradle build system managing our dependencies. This document will describe steps for building, testing, and deploying the final solution.
If you only want to build the project you can use the provided script
./build.sh
Or you can run:
./gradlew build
Using the following command to build without creating an installer:
./gradlew createDistributable
To create a msi for installing on windows:
./gradlew packageMsi
To build and then run the program use:
./gradlew run
In order to test the program you can run the following terminal command from within the project directory:
./test.sh
If this command fails you can try the following terminal command instead:
./gradlew test
You can clean up all build artifacts by running the following command:
./gradlew clean
In order to deploy the program to the end users you will need to follow the steps:
- Go to the GitHub Actions tab.
- Navigate to the Deploy action on the left hand side of the page.
- Click the "Run workflow" button.
- Select the branch you want to deploy from the drop down menu. (It's okay to select the default settings when running the workflow.)
- Click the "Run workflow" button when the settings are correct.
- Wait for the workflow to complete.
- Select the deploy that you would like to publish, most likely the one with the most recent timestamp.
- Send the link for the deploy to the Dr. Henderson. He will upload the deploy to the CS481 website.