Front-end project for context-driven clinical transactions.
This is an Angular 8 project using grunt
as the build system, SASS for CSS, and Bootstrap for layout. npm
is the package manager.
Assuming you already have node installed via brew install node
or similar, begin by running the following commands in the terminal:
git clone https://github.com/HII-C/patient_viewer.git
cd patient_viewer
npm install -g grunt
npm install # to install project development dependencies
If you do not have npm
installed, do the following:
brew install node
in TerminalThe project was tested specifically with node version 10.19.0
.
To launch in development mode, run the following terminal command from the patient_viewer
folder:
grunt --force # to serve the project and automatically recompile on file changes
Then, do the following:
Adams, Daniel X
in the popup. This should open the Patient Viewer application.grunt --force
command in the terminal.let
rather than var
for declaring variables. The scoping for variables declared with var
is unintuitive and can result in strange bugs.Encounter
) rather than dealing with JSON directly. By doing so, we can take advantage of Typescript's type checking and code completion.document.getElementById(..)
).console.log(..)
statements in the code when pushing to the repository. You can use them while developing locally but it can cause clutter in the repository.contextMenu.component.ts
and hoverBox.component.ts
).