- Repository: https://github.com/johntyu/EECS481_EPIC
- The private repository has been shared with Chris (chriscm2006) & David (davidjns)
- There is no executable file for this project. Please follow the setup instructions below.
- Kyle Kavanagh | kdkav@umich.edu | 248-914-8864
- Minchan Kim | kminchan@umich.edu | 973-518-2544
- Colleen Sain | collsain@umich.edu | 734-395-1877
- Matt Speakman | mcspeak@umich.edu | 734-755-9763
- John Yu | johntyu@umich.edu |
###Install Java
- The server requires java 1.7+. To check your existing java version, run
java -version
from the command line. If you need to update, you can download java7.
- Install the Eclipse for Java (Kepler)
- Install the maven plugin (m2e) if using eclipse
- Only if you are using a previous version of Eclipse, e.g. Indigo
- If you did not install eclipse, you will need to have Maven installed on your machine
- From the terminal, run
git clone https://github.com/johntyu/EECS481_EPIC.git
- If using a mac, the easiest way to install PostgreSQL is [PostgreSQL App] (http://postgresapp.com/)
- If using a PC, install PostgreSQL from [Here] (http://www.postgresql.org/download/windows/)
- In the SQL file /db/masterSetup.sql, change the database directory to reflect the location of the repo on your machine
\cd /PATH_TO_PROJECT/EECS481_EPIC/db/
- Run the master database script
\i masterSetup.sql
- Import Existing Maven Project and do that for each folders. "handoff-tool", "EMRConnector", "MiChartConnector"
- Right click on the projects and go to Maven-> update project
- A. From "EMRConnector" select Run > Run Configuartions…** and create a `new maven build configuration with goals "clean install"
- B. If you did not install eclipse, run from the command line "mvn clean install"
- A. From "MiChartConnector" select Run > Run Configuartions…** and create a `new maven build configuration with goals "clean install"
- B. If you did not install eclipse, run from the command line "mvn clean install"
- A. From Eclipse, select Run > Run Configuartions… and create a
new maven build configuration
with the goalsclean install jetty:run
- B. If you did not install eclipse, run from the command line "mvn clean install jetty:run"
- Running this configuration will start the server at
https://localhost:8443
- It will continue to run until you kill it from the eclipse console or the command line
- The server checks for code updates every 10 seconds and will hotswap in your new code.
- When you first visit the site, you will see a warning regarding unsigned SSL certificates. This is okay, the site is still secure. (This is a result of us not paying/sending our SSL certificate to verification sites like VeraSign)
- You can login to the server with the credentials username="user", password="password"