Skip to content

kishimi8/minj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MINJEMR Setup & Installation


  • This details for developers who wants to clone DanpheEMR, Use it and help us for improvements.
  • We have all details like software and tools requirements
  • Step by step guide for build and run project
  • Database creation and more..

Prerequisites

  • Visual Studio 2017/2019
  • VS code
  • MS SQL Server 2017 (14.0.202) or later

Important note

  • Make sure you run source code from a proper drive like "C:\Danphe" drive or "D:\Danphe" drive and not in Desktop or downloads folder. This is needed because the code needs elevated rights.
  • In Appsettings.json change the below values to your directory paths
    "ServiceAccountKey": "D:\\DanpheGitLab\\FileUploadTest\\credentials.json",
    "LoggerFilePath": "D:\\DanpheGitLab\\FileUploadTest\\FileUploadTestLogger",
    "UploadFileBasePath": "D:\\DanpheGitLab\\FileUploadTest\\LabReports"

Build Angular Project

  • Go to Code\Websites\DanpheEMR\wwwroot\DanpheApp path and open DanpheApp folder in VS code
  • Open a new terminal and execute below command
  •               
                    npm install
                  
                
  • Then execute below command
  •               
                    ng build --watch
                  
                

Database Creation

  • Go to Database folder and execute 1. DanpheAdmin_CompleteDB.sql file in sql server(This will create admin database)
  • Go to Database folder extract rar file 2.DanpheEMR_OS.rar
  • Then restore database by using bak file in database folder and this is main database with name DanpheEMR_OS
  • After successful restore go to Database folder and execute increamental file 3.Increamental_DBScript.sql on DanpheEMR_OS database

Build Project

  • Go to Code\Solutions and open solution DanpheEMR.sln in visual studio
  • Note: If MINJEMR project not loaded in visual studio then please install .net core sdk version 3.1.301 or change sdk version number as per your machine sdk in global.json file path=> Solution Items\global.json file
          <li><strong>Update appsetting.json file for database name and credentials </strong>
            <p class="details">Go to DanpheEMR project (in visual studio) and open appsettings.json file</p>
            <p class="details">Here we have 3 connection strings. Update every connection string with your machine database name (initial catalog) and data source name.</p>
          </li>
         
         
          <li><strong>Build DanpheEMR (project server side)</strong>
            <p class="details">Go to visual studio and right click on solution name</p>
            <p class="details">click on Rebuild solution</p>
          </li>      
          
      
          <li><strong>Run project</strong> </li>
          <!-- <p class="Details">(without debuging) Go to visual studio click on Debug menu => click on "Start without debuging" / ctrl+f5</p><br>
          <p class="Details">(with debuging) Go to visual studio click on Debug Menu => click on "Start Debuging"</p>      -->
        </ul>
      </div>
    </div>
    

MINJPACS Setup & Installation


MINJDICOM Setup & Installation


===================================================

Running The MINJDICOM on Tomcat 7.0 Servlet/JSP Container

===================================================

Apache Tomcat 7.0 requires a Java Standard Edition Runtime Environment (JRE) version 7.0.

(1) Download and Install a Java JDK version 7.0

(2) Download and Extract The Source Code To C:/MINJDICOM

(3) Configure Environment Variables

  1. (a) set JAVA_HOME to jdk dir e.g C:\Program Files\Java\jdk1.7.0_79
  2. (b) set JRE_HOME to jre dir e.g C:\Program Files\Java\jdk1.7.0_79/jre
  3. (c) Set MINJDICOM_HOME to C:/MINJDICOM
(4) Start Up MINJDICOM

(4.1) Tomcat can be started by executing one of the following commands:
   Press Windows + R, paste the code below:
  		%MINJDICOM_HOME%\bin\startup.bat         

(4.2) After startup, the default web applications included with Tomcat will be available by visiting:

  http://localhost:8080/

About

Hospital and Laboratory management system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published