Git Product home page Git Product logo

Comments (5)

leonlan avatar leonlan commented on August 15, 2024

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

It will be updated more in the future

from tour-du-mont-blanc.

leonlan avatar leonlan commented on August 15, 2024

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.

from tour-du-mont-blanc.

leonlan avatar leonlan commented on August 15, 2024

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

  • Installation and deployment is relatively straightforward.
    • Install rsconnect-python
    • Configure with API token
      • rsconnect add --account <ACCOUNT> --name <NAME> --token <TOKEN> --secret <SECRET>
    • poetry run rsconnect deploy shiny dashboard/ --name leonlan --title tour-du-mont-blanc1
  • Need to make custom requirements.txt file.
  • Data and app needs to be in one single directory.

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

from tour-du-mont-blanc.

leonlan avatar leonlan commented on August 15, 2024

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.

from tour-du-mont-blanc.

leonlan avatar leonlan commented on August 15, 2024
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.

from tour-du-mont-blanc.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.