What you'll learn: Complete guide to hosting R Shiny interactive applications on MyFolioHub.
Prepare Your Shiny App
3 minEnsure your Shiny app runs locally with `shiny::runApp()`. Create an app.R or separate ui.R and server.R files. Include a description.txt file explaining your app.
Create DESCRIPTION File
2 minCreate a DESCRIPTION file in your app directory specifying R version and dependencies. Include Title, Author, Version, and other metadata. This helps MyFolioHub understand your app requirements.
Push to GitHub
2 minPush your Shiny app to a public GitHub repository. Include .gitignore to exclude large files and cache. Ensure all code is production-ready and well-commented.
Connect to MyFolioHub
2 minIn MyFolioHub, select "Add Application" → "R Shiny App". Authorize GitHub access and select your repository.
Configure R Environment
3 minSelect R version. MyFolioHub will automatically install packages from DESCRIPTION file. Configure memory and compute resources based on app complexity.
Deploy and Test
3 minClick Deploy and monitor the build process. Your Shiny app will be live within 10-15 minutes. Test interactivity and performance thoroughly.
💡 Pro Tips
- Package dependencies: List only necessary packages. Use library(package) in your code to ensure MyFolioHub detects dependencies.
- Performance: Optimize reactive expressions to reduce computation time. Cache expensive operations.
- Debugging: Check deployment logs if your app fails. MyFolioHub provides detailed error messages to help troubleshoot.