Skip to content

angusmillar/PyroWeb

Repository files navigation

Pyro-Web

A front-end UI for the Pyro FHIR Server project

Features

  • Pyro FHIR Server conformance statment display

Visual Studio Code

  • Development performed in VS Code

Required Extensions

Dev Installation

  1. git clone https://angusmillar@bitbucket.org/angusmillar/pyro-web.git
  2. open pyro-web in Visual Studio Code
  3. make sure you have vscode-chrome-debug and vscode-eslint extension installed
  4. press F1 > Run Task > install (or npm install) to install all dependencies

Visual Studio Code shortcuts

  • F5 to start debugging
  • CTRL+SHIFT+B to build a production release
  • CTRL+SHIFT+T to run eslint

Website installation / depolyment

First build the production website files by running the VS Code task named release. Then take all the files output to the dist folder of the project. Take these files to the web server e.g IIS8

Windows Server IIS8

  1. Create a new windows account on the server for the new website application pool to use. Add this account to the IIS_IUSRS acount group.
  2. Create a new folder under the IIS directory C:\inetpub\wwwroot[MyNewWebsite]
  3. Assign access to this new folder to the new windows acount you created
  4. Open IIS Manager and create a new Aplication pool, set .NET CLR version to be No Managed Code and Mananged pipline mode to intergrated and tick start application pool immediately
  5. Now add a new wesite under sites, select the application pool you just created. Set the Physical path to the folder you put the website content in. Click Connect As and enter the windows account name you created and it's password. Enter you domian/subdomain in Host Name, Click OK.
  6. Configure the defalt page for 404 errors to be the websites main index.html file. To do this go to the Error Pages option and configure 404 to Execute a URL on this site and in URL (relative to site root) enter \index.html and click OK. This is required to ensure ReactRouter works correctly for browser refreashes and bookmarks.
  7. Ensure your Bindings are correct http or https and cetrificates if required.
  8. Hit restat just to ensure everything it set and navigate to your site to test.

About

Web fount end for Pyro FHIR server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages