Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Prerequisites

  1. Node.js - Click to download

  2. Angular - Run npm install -g @angular/cli to install

  3. Any Code Editor.

Steps to run on the local system

A step by step series of examples that tell you how to get a development environment running

Step 1. Clone Intelehealth-UI repository

Code Block
https://github.com/Intelehealth/intelehealth-ui

Clone the zip and open it in any code editor of your choice.

Step 2. Install all the dependencies.

Code Block
npm install

Running this step will install all the required libraries and dependencies on your system.

Step 3. Start the server

Code Block
ng serve

This will start the live server on your local machine.

Step 4. To run

Code Block
localhost:4200

Open this link on the browser and you are good to go!

...

Info

Note: The latest version of the chromium-browser does not support cross-origin connection.

To enable cross-origin connection

  1. On mac: run this command on terminal

open -n -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --user-data-dir="/tmp/chrome_dev_test" --disable-web-security

2. On windows: navigate to run and type

"C:\Program Files\Google\Chrome\Application\chrome.exe" --disable-web-security --user-data-dir="C:\tmpChromeSession"