Managing Shiny-Server authentication with Django

Image for post
Image for post
Photo by Halacious on Unsplash

Deploying web applications in R with shiny

Adding an authentication layer to Shiny Server Community Edition

Enhancing the Shiny — Django authentication layer

1. Structuring the project with docker-compose

shiny-server docker-compose example

2. Ensuring authentication per application

shiny-server django models.py
Image for post
Image for post
add a new shiny application using django-admin
shiny-server django views

3. Direct access to the shiny application

shiny-server: direct access to shiny applications using django
shiny-server: nginx.conf

4. Customize the layout

Image for post
Image for post
Image for post
Image for post
Image for post
Image for post

Conclusion

Bioinformatician, Researcher, Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store