-
Notifications
You must be signed in to change notification settings - Fork 3
/
readme.txt
90 lines (76 loc) · 2.89 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
Medicloud
What is it?
--------------------------------
Medicloud is an Electronic Health Record (EHR) system
with the mission of enabling patients with unprecedented
access and control to their medical data, while enabling
private practices with power medical information management
system on the cloud.
Team members
--------------------------------
Hung Tran, Helen Tsui, Kyaw Win
Application demo
--------------------------------
https://www.youtube.com/watch?v=gligl6IfUkc&feature=youtu.be
Project characteristics
--------------------------------
- Spring Framework v1.2.7 Spring Boot REST API
- Spring data JPA & Hibernate
- Spring Security
- Bootstrap v3.3.5
- Angular JS v1.4.5
- mySQL v14.14
- JQuery v2.1.4
- maven 3.3.3
- JUnit 4.11
Installation
--------------------------------
There are three applications tiers in medicloud to set up in order for
the application to run correctly:
Client side web server, Database mySQL server, and Spring Rest API application
**** Client-side
+ Requirements:
- Web Server (Apache or IIS)
- Website root: "Medicloud/Client-side/"
+ Run:
- If website is hosted in localhost point browser to "localhost/"
**** Database
+ Requirements:
- mySQL-server & mysQL-client
NOTE: Installation of mySQL server varies depending on platform. See documentation at
https://dev.mysql.com/doc/refman/5.0/en/installing.html
- mySQL server should automatically starts after installation
+ Run:
- Execute all ".sql" files in "Medicloud/Database" folder to set up Medicloud's database schema
+ Test:
- Enter command mysql --version to confirm mySQL is installed
**** Server-side
+ Requirements:
- Java JDK 1.8.0
NOTE: Installation of Java and environment variables varies depending on platform.
See Oracle documentation at:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
+ Run:
From command-line:
- Change directory to "Medicloud/""
- Enter command:
"java -jar API/medicloudAPI/target/medicloudAPI-0.0.1-SNAPSHOT.jar"
- The API will be available on port ":8080" of the machine's localhost
+ Test:
- Insert a test record in
- Point browser to "localhost:8080/person/personId/?personId={id}"
where {id} is the id generated by mySQL
Full Application Test
---------------------------------
- We can test this locally after installation or on Medicloud's production server:
+ Locally: With all three tiers running, point browser to where web application is hosted. i.e. "localhost"
+ Medicloud's production server: Point browser to http://52.88.114.36/
Test:
- Click on Health Professional tab on the homepage
- Click on "Sign Up"
- Fill out sign up form
- Click "GO"
- Check Email for verifidation link
- Click on the link to receive a confirmation message that every account was verified
- This indicates that client side server, database and Rest API,
and GMail server are successfully communicating