File tree 3 files changed +28
-17
lines changed
3 files changed +28
-17
lines changed Original file line number Diff line number Diff line change 1
1
# Configuration Guide
2
2
3
- This document will detail how to set up the application locally .
3
+ This document will detail how to configure a MySQL database .
4
4
5
5
### Create a new database using Docker
6
6
``` bash
@@ -32,6 +32,9 @@ docker exec -i mysql-rvf mysql -u root -p$MYSQL_ROOT_PASSWORD -e "GRANT ALL PRIV
32
32
33
33
```
34
34
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
+
35
38
If the MySQL database has been set up outside of Docker, the command to update the user's privileges will still need
36
39
run:
37
40
Original file line number Diff line number Diff line change 1
1
# Getting started
2
+
3
+ This document will detail how to get started.
4
+
2
5
## Prerequisites
3
6
- Java 17
4
7
- Maven 3
5
8
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 ) .
14
15
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 ) .
16
18
17
- ### Build RVF
19
+ ## Running
20
+ Once the prerequisites & dependencies have been configured, simply build & run the application.
18
21
22
+ #### From source code
19
23
``` bash
20
- mvn clean install
24
+ mvn clean package
21
25
```
22
26
23
- ### Import assertions
24
- [ Follow instructions here] ( importing-assertions.md ) .
25
-
26
- ### Start RVF application
27
-
28
27
``` bash
29
28
java -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
30
34
```
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
+
1
5
# Importing SNOMED Release Validation Assertions
2
6
3
7
RVF 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