pws-aws is a [Spring Boot](https://spring.io/projects/spring-boot) service to deliver a service which achieves supporting more efficient and better decision making on large scale capital investments.
## Running Locally
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
In order to run the service locally or remotely, you will need to have the following environment variables defined.
| name | example value | required | description | sensitive? |
| --- | --- | --- | --- | --- |
TBD
### Run Locally
Check that maven is installed:
example:
```bash
$ mvn --version
Apache Maven 3.8.3
Maven home: /usr/local/Cellar/maven/3.8.3/libexec
Java version: 17.0.7
...
```
You may need to configure access to the remote maven repository that holds the OSDU dependencies. Copy one of the below files' content to your .m2 folder
* For development against the OSDU GitLab environment, leverage: `<REPO_ROOT>~/.mvn/community-maven.settings.xml`
* For development in an AWS Environment, leverage: `<REPO_ROOT>/provider/pws-aws/maven/settings.xml`
* Navigate to the service's root folder and run:
```bash
mvn clean package -pl pws-core,provider/pws-aws
```
* If you wish to build the project without running tests
After configuring your environment as specified above, you can follow these steps to run the application. These steps should be invoked from the *repository root.*
<br/>
<br/>
NOTE: If not on osx/linux: Replace `*` with version numbers as defined in the provider/pws-aws/pom.xml file