-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb7f9c7
commit e0138b6
Showing
3 changed files
with
28 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,34 @@ | ||
# Getting started | ||
|
||
This document will detail how to get started. | ||
|
||
## Prerequisites | ||
- Java 17 | ||
- Maven 3 | ||
|
||
## Setup | ||
### Install Mysql 8.0 | ||
RVF requires a local MySQL database to be available. | ||
#### Download and install [MySQL 8.0](https://dev.mysql.com/doc/refman/8.0/en/installing.html) | ||
#### Or use brew on macOS | ||
```bash | ||
brew install [email protected] | ||
``` | ||
## Dependencies | ||
- MySQL 8.0 | ||
- Assertions | ||
|
||
#### MySQL 8.0 | ||
Install and configure a MySQL database [as described here](configuration-guide.md). | ||
|
||
Following [this](configuration-guide.md) to set up the database and user. | ||
#### Assertions | ||
Install and configure the snomed-release-validation-assertions repository [as described here](importing-assertions.md). | ||
|
||
### Build RVF | ||
## Running | ||
Once the prerequisites & dependencies have been configured, simply build & run the application. | ||
|
||
#### From source code | ||
```bash | ||
mvn clean install | ||
mvn clean package | ||
``` | ||
|
||
### Import assertions | ||
[Follow instructions here](importing-assertions.md). | ||
|
||
### Start RVF application | ||
|
||
```bash | ||
java -Xms1024m -Xmx8g -Daws.region=us-east-1 -jar target/release-validation-framework*.jar --server.port=8081 --server.servlet.context-path=/api | ||
``` | ||
|
||
#### From Docker | ||
```bash | ||
docker-compose up -d | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters