Skip to content
Snippets Groups Projects
Select Git revision
  • base-r
  • main default protected
  • base-python protected
  • base-common protected
  • advanced-scripts protected
  • doc-trigger protected
6 results

shiny-k8s-example

  • Clone with SSH
  • Clone with HTTPS
  • Branch "base-r" - Project shiny-k8s-example

    Definition

    Use this branch if your Shiny app is developed in R language.
    This branch contains all the configuration files requiered for host and deploy your app.
    Please respect the folder structure.

    Branch structure

    base-r
    ├── chart                           ## Folder containing configuration files for deployment on kubernetes
       ├── charts
       ├── Chart.yaml
       ├── templates
       ├── values.prod.yaml
       └── values.yaml
    ├── docker-compose-for-prod         ## Folder containing configuration files for deployment on other hosting system
       ├── data
       ├── docker-compose.yaml
       ├── logs
       ├── persistent
       └── README.md
    ├── docker-compose.yaml            ## File to run localy your app
    ├── Dockerfile                     ## File to containerize your app
    ├── LICENSE
    ├── logs                           ## Folder for logs files
    ├── my_packages_to_install.csv     ## File listing R packages required for your app
    ├── my_project                     ## Folder containing your shiny app including R, CSS files and input data
       ├── app.R
       ├── data                       ## Folder containing input data used in your app
       └── www                        ## Folder containing output data, CSS style file, images, ... used in your app
           └── persistent             ## Folder containing persitent data (optionnal)
    └── README.md

    Following to the Documentation, please adapt this folder to needs of your Shiny app.\

    Project

    Definition

    This project is a satellite project containing example(s) on how to use components developped in hub/shiny-k8s.

    • The base example with R language is the branch base-r
    • The base example with Python is the branch base-python

    For more information, see Documentation.

    Project structure

    This project use orphan branch concept 1 to manage the different ressources using according to the usage.

    shiny-k8s-example
      ├── main
      ├── base-common
         ├── base-r
         └── base-python
      ├── advanced-scripts
      └── doc-trigger
    1. git definition