rcrisp Shiny app

Shiny web app for the rcrisp software package.

2
contributors
30 commitsLast commit ≈ 2 days ago0 stars0 forks

Cite this software

Description

rcrisp shiny app

DOI

This repository hosts the code for the Shiny web app built for the rcrisp software package.

You can try out the app at the following URL: https://cforgaci.shinyapps.io/rcrisp/

Deploy the app on shinyapps.io

The app is deployed on shinyapps.io. In order to setup the deployment:

  • Login to https://www.shinyapps.io/ (GitHub authentication can be used);

  • When logging in the first time, you will be prompted to choose a username;

  • Get a token and the corresponding secret to authorize deployment of the app: on shinyapps.io, select "Account" > "Tokens", then select a token (or create a new one), finally click on "Show" and "Show secret".

  • Save username, token, and secret as GitHub repository secrets: select "Settings" > "Secrets and variables" > "Actions", then create (or modify) the following repository secrets assigning them the corresponding values retrieved from shinyapps.io: SHINYAPPS_USERNAME, SHINYAPPS_TOKEN, SHINYAPPS_SECRET.

  • The app is deployed to shinyapps.io using GitHub actions via this workflow file. The action updates the deployment every time app.R or renv.lock are modified on the "main" branch of this repository. It is also possible to manually trigger a new deployment from the "Actions" tab, by clicking on Run workflow.

  • The app is deployed at a URL of the following form: https://USERNAME.shinyapps.io/APPNAME/ (the APPNAME is set in the workflow file). If the URL of the deployment is modified, please update the URL in the first section of this README file and the URL in the repository details.

Run the app locally

Create an environment with all the required dependencies:

# install.packages("renv")
renv::init(bare = TRUE)
renv::restore()

Start the app, listening on port 3838:

library(shiny)
runApp(port = 3838)

Open browser on http://127.0.0.1:3838

Keywords
Programming language
  • R 100%
License
</>Source code

Participating organisations

Netherlands eScience Center
Delft University of Technology

Contributors

Related projects

CRiSp

City River Spaces, a tool for automated and scalable delineation of urban river spaces with spatial-temporal big data

Updated 16 months ago
In progress

Related software

CRiSp

CR

CRiSp (City River Spaces) provides tools to automate the morphological delineation of riverside urban areas.

Updated 5 months ago
4