Skip to content

halcwb/PICEDashboard

Repository files navigation

PICEDashboard

This application is based on SAFE Stack. It was created using the dotnet SAFE Template. If you want to learn more about the template why not start with the quick start guide?

Install pre-requisites

You'll need to install the following pre-requisites in order to build SAFE applications

Starting the application

Start the server:

cd src\Server\
dotnet run

Start the client:

dotnet fable watch src\Client --run webpack-dev-server

Open a browser to http://localhost:8080 to view the site.

Deploying the application

  1. Bundle the client application in the root folder. This will build the client application according to the specs in the webpack.config.js, using the following commands:
# make sure that the client is build
dotnet fable src/Client/Client.fsproj
# bundles the client
npm run build
  1. Build the server application using the following commands:
cd src/Server
dotnet publish -c release -o ../../deploy/Server
  1. Copy the data folder to the root of application folder

The result is the following folder structure:

deploy/


Client/
public/
Server/

Using IIS

For IIS to run the application you need to install the ASP.NET CORE hosting bundle

SAFE Stack Documentation

If you want to know more about the full Azure Stack and all of its components (including Azure) visit the official SAFE documentation.

You will find more documentation about the used F# components at the following places:

Things to do

  • Need to nuget the libs in the libs folder, i.e. Informedica.PICE.Lib
  • Maybe make the data folder relative to the deploy folder (currently in the root of the repository)

About

Dashboard for the Pediatric Intensive Care Evaluation registry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages