Closed apmis-org closed 1 year ago
@xlg8 This issue is the oldest, almost 2 years old with no comments and no developer or project manager assigned. Yet, it is classified as 'in development' with an associated milestone of June 2023. Since we now have #419 which is a duplicate, I suggest closing/deleting this issue. FYi @RaziaMahmodi
dulpicate
Situation Description
apmis-stats-shinyapp apmis-stats-shinyapp is a web app based on R Shiny framework. It contains modules to analyze data generated by APMIS or any other electronic tool used for SIAs
Feature Description
Based on https://github.com/hzi-braunschweig/SORMAS-Stats-next-gen/blob/development/sormas-stats-shinyapp/sormas-stats-app/Documentation/documents_en.md
Possible Alternatives
Download documents needed from https://github.com/hzi-braunschweig/SORMAS-Stats-next-gen/tree/development/sormas-stats-shinyapp/sormas-stats-app
Demo apps [Connect to demo SORMAS-Stats app version] (https://sormas.helmholtz-hzi.de/sormas-stats-shinyapp/) Username: stats Password: aeJahpho3shi [Connect to demo SORMAS app version] (https://release-international.sormas.netzlink.com/sormas-ui/) Username: stats Password: rHbaN8y3BMAG
Additional Information
SORMAS-Stats-next-gen
SORMAS-Stats contain functions to analyze and visualize surveillance data collected by SORMAS.
Run docker container
Prerequisites
(1) You should begin this tutorial after installing and configuring the SORMAS app on your system, and create some data in the database. Information on how to install SORMAS can be found on the SORMAS-Docker repository https://github.com/hzi-braunschweig/SORMAS-Docker.
(2) You need to install a container engine (e.g. Docker)
Run container
(3) Pull the latests version from hub.docker.com
If you like to pull an image built from development branch, you need to pull the tag 'developemnt'.
(4) Run the image
The app will listen on port 3838. You can map this port to any port on the server.
If you like to provide a custom shiny-server.conf you can map this as a volume. For example shiny-server.conf:
Please refer to the documentation of R shiny https://docs.rstudio.com/shiny-server/#default-configuration
Environment parameters
After starting the container, the application tries to connect to a SORMAS database. The container uses these environment parameters for configuration:
Docker compose
You can use a docker-compose file to start the application:
Run locally
(1) Set the R PATH to where the
example-app.Rproj
is saved on your sytem. You can also double click onexample-app.Rproj
to launch R and this would automatically set the PATH.(2) Run app using the command
shiny::runApp()