File tree Expand file tree Collapse file tree 3 files changed +28
-17
lines changed
Expand file tree Collapse file tree 3 files changed +28
-17
lines changed Original file line number Diff line number Diff line change 11# Configuration Guide
22
3- This document will detail how to set up the application locally .
3+ This document will detail how to configure a MySQL database .
44
55### Create a new database using Docker
66``` bash
@@ -32,6 +32,9 @@ docker exec -i mysql-rvf mysql -u root -p$MYSQL_ROOT_PASSWORD -e "GRANT ALL PRIV
3232
3333```
3434
35+ ### Create a new database using source
36+ Alternatively, follow the steps described on [ this page] ( https://dev.mysql.com/doc/refman/8.0/en/installing.html ) to install and configure MySQL 8.
37+
3538If the MySQL database has been set up outside of Docker, the command to update the user's privileges will still need
3639run:
3740
Original file line number Diff line number Diff line change 11# Getting started
2+
3+ This document will detail how to get started.
4+
25## Prerequisites
36- Java 17
47- Maven 3
58
6- ## Setup
7- ### Install Mysql 8.0
8- RVF requires a local MySQL database to be available.
9- #### Download and install [ MySQL 8.0] ( https://dev.mysql.com/doc/refman/8.0/en/installing.html )
10- #### Or use brew on macOS
11- ``` bash
12- 13- ```
9+ ## Dependencies
10+ - MySQL 8.0
11+ - Assertions
12+
13+ #### MySQL 8.0
14+ Install and configure a MySQL database [ as described here] ( configuration-guide.md ) .
1415
15- Following [ this] ( configuration-guide.md ) to set up the database and user.
16+ #### Assertions
17+ Install and configure the snomed-release-validation-assertions repository [ as described here] ( importing-assertions.md ) .
1618
17- ### Build RVF
19+ ## Running
20+ Once the prerequisites & dependencies have been configured, simply build & run the application.
1821
22+ #### From source code
1923``` bash
20- mvn clean install
24+ mvn clean package
2125```
2226
23- ### Import assertions
24- [ Follow instructions here] ( importing-assertions.md ) .
25-
26- ### Start RVF application
27-
2827``` bash
2928java -Xms1024m -Xmx8g -Daws.region=us-east-1 -jar target/release-validation-framework* .jar --server.port=8081 --server.servlet.context-path=/api
29+ ```
30+
31+ #### From Docker
32+ ``` bash
33+ docker-compose up -d
3034```
Original file line number Diff line number Diff line change 1+ # Importing Assertions
2+
3+ This document will detail how to install & configure assertions.
4+
15# Importing SNOMED Release Validation Assertions
26
37RVF assertions are in github [ snomed-release-validation-assertions] ( https://github.com/IHTSDO/snomed-release-validation-assertions )
You can’t perform that action at this time.
0 commit comments