Skip to content

Commit 2fa5bd2

Browse files
committed
PIP-352 Update documentation
1 parent 549401f commit 2fa5bd2

File tree

3 files changed

+28
-17
lines changed

3 files changed

+28
-17
lines changed

docs/configuration-guide.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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+
3538
If the MySQL database has been set up outside of Docker, the command to update the user's privileges will still need
3639
run:
3740

docs/getting-started.md

+20-16
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,34 @@
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-
brew install [email protected]
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
2928
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
3034
```

docs/importing-assertions.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Importing Assertions
2+
3+
This document will detail how to install & configure assertions.
4+
15
# Importing SNOMED Release Validation Assertions
26

37
RVF assertions are in github [snomed-release-validation-assertions](https://github.com/IHTSDO/snomed-release-validation-assertions)

0 commit comments

Comments
 (0)