A front-end UI for the Pyro FHIR Server project
- Pyro FHIR Server conformance statment display
- Development performed in VS Code
git clone https://angusmillar@bitbucket.org/angusmillar/pyro-web.git
- open pyro-web in Visual Studio Code
- make sure you have vscode-chrome-debug and vscode-eslint extension installed
- press F1 >
Run Task
>install
(ornpm install
) to install all dependencies
- F5 to start debugging
- CTRL+SHIFT+B to build a production release
- CTRL+SHIFT+T to run eslint
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
- 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.
- Create a new folder under the IIS directory C:\inetpub\wwwroot[MyNewWebsite]
- Assign access to this new folder to the new windows acount you created
- 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
- 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.
- 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.
- Ensure your Bindings are correct http or https and cetrificates if required.
- Hit restat just to ensure everything it set and navigate to your site to test.