-
Notifications
You must be signed in to change notification settings - Fork 1
Building MONAHRQ
MONAHRQ consists of two key components that must be compiled before MONAHRQ can generate websites. These are the .NET solution (MONAHRQ.sln
) and the AngularJS website template (in MONAHRQ\Resources\Templates\Site.Src
).
To compile MONAHRQ from source:
- Ensure that all prerequisites listed in MONAHRQ Application and MONAHRQ Website below are installed
- (Optional) Place your desired version of the MS-DRG grouper into the
MONAHRQ.SysTray\Grouper\Msgmce
directory - Compile all projects in
MONAHRQ.sln
- Compile the generated website template in
MONAHRQ\Resources\Templates\Site.Src
The MONAHRQ application was developed and compiled using Microsoft Visual Studio on Windows 10 using Debug or Release configuration for “Any CPU” platform.
The only requirement for building and running MONAHRQ is the Microsoft Access Database Engine 2010. The MONAHRQ solution may be compiled using Visual Studio or MSBuild. Other build engines and IDEs are untested.
External dependencies required by the MONAHRQ solution are managed by NuGet. You will need to perform a NuGet restore prior to building the solution or any individual projects.
The MONAHRQ website template is made with AngularJS and is compiled with Node.js grunt. The source code is located in MONAHRQ\Resources\Templates\Site.Src
and the compiled template is located in MONAHRQ\Resources\Templates\Site
.
The following software packages are required to build the website:
- Git
- Ruby 2.2.4 (x64) or later
- Sass (C++ or Ruby version)
- Node.js and NPM with the following packages:
- Bower
- grunt (installed locally and globally)
- grunt-contrib-sass
PATH
environment variable.
External dependencies required by the MONAHRQ website are managed by npm and bower. You will need to restore packages using npm install
and bower install
prior to building the website with grunt. To build the website, execute grunt build
from the Site.src
directory.
The MONAHRQ.SysTray component of the MONAHRQ Windows Application relies on the MS-DRG grouper provided by CMS. If the grouper is not supplied prior to building the MONAHRQ.SysTray project, it will be downloaded automatically from the most recent MONAHRQ release on GitHub. Refer to the Monahrq.SysTray\Grouper.targets
MSBuild file for more information about the build process.
Prepared by Pantheon. Last modified September 6, 2017.