leonlan / tour-du-mont-blanc

Planning tool for your Tour du Mont Blanc adventure ⛰️!
https://tour-du-mont-blanc.streamlit.app/
MIT License
6 stars 0 forks source link

Deploy #14

Closed leonlan closed 3 months ago

leonlan commented 8 months ago

Specifically, this example is relevant: https://github.com/wch/retirement-simulation-dashboard/

It will be updated more in the future

leonlan commented 8 months ago

It’s a bit more hassle to deploy with shiny live. I think it’s easier to deploy from DO. The cronjobs I can migrate to a Github repository.

leonlan commented 8 months ago

I'm trying to deploy with shinylive now. This seems to work fine.

This now works and is live at https://leonlan.shinyapps.io/tour-du-mont-blanc/!

leonlan commented 8 months ago

OK I think I broke shinyapps. I can no longer deploy 😂

❯ rsconnect deploy shiny dashboard/ --name leonlan --title tmb
Validating server...    [OK]
Validating app mode...  [OK]
Making bundle ...   [OK]
Deploying bundle ...    [ERROR]: shinyapps.io reported an error (calling /v1/applications/11368541): Not Found
Error: shinyapps.io reported an error (calling /v1/applications/11368541): Not Found

I deleted too many servers I think.

leonlan commented 8 months ago
poetry run rsconnect deploy shiny dashboard/ --name leonlan --title dashboard --new 

With --new a new deployment is forced that works. Cool. It's now available at https://leonlan.shinyapps.io/dashboard/.

Shinyapps is not sustainable on the long term because it's free plan only allows for 25 hour active hours, and scaling to 100 active hours costs 13$/month. But it's nice to have during development.