Giter VIP home page Giter VIP logo

Comments (7)

fresh2dev avatar fresh2dev commented on June 4, 2024

I corrected a bug in the first-time setup that affected superadmins that was present in the base image sooner after the release of the latest version (v2). You may have pulled it just before the fix was implemented.

Please run ./control.sh update to pull the latest image from DockerHub.

I will update the documentation based on this issue, but so you have a better understanding of the site structure...

The .yml files should be named according to {PORT}_{SITEID}.yml.

  • The "Apps & Reports" pane reads content from .../sites/{SITEID}/_apps.
  • The "Documents" pane reads from .../sites/{SITEID}/_apps.
  • The "Personal" pane reads from .../users/{USERNAME}.

So, using the default config file 8080_Site1.yml, apps/docs are read from:

  • .../sites/Site1/_apps
  • .../sites/Site1/_docs

You can use VS Code / RStudio to move the sample content around to the proper locations.

I'll leave this issue open, awaiting your reply, just in case you have issues pulling the latest image or have a follow-up question.

Thanks,
Donald

from shinystudio.

fresh2dev avatar fresh2dev commented on June 4, 2024

Argh, just identified another issue when running as superadmin. Stay tuned for a new image. Until then, running as admin should work fine.

from shinystudio.

engti avatar engti commented on June 4, 2024

Thanks. Logged into admin, and still see no default docs or apps.

I believe that when I created the file 80_8080_Site1.yml and ran setup, it's somehow not picking out Site1.

When I access myip:8080 I can see Site 1 content but when I access myip alone, I can't see Site1 content from Apps or Docs. I can see it from the VS Code explorer though.

Really appreciate you helping out. If you need me to update any documentation in support, I'd be glad to help. I'm deploying this on a GCP server.

from shinystudio.

fresh2dev avatar fresh2dev commented on June 4, 2024

I appreciate the feedback. You identified another bug, which is that the SITEID in PORT_SITEID.yml cannot contain underscores. I corrected and a few other issues related to the first-time launch. I will push later this evening after further evaluation.

For the time being, if you'd like, start from scratch, with the default config, and log in as admin. Open either IDE first, before accessing apps or docs.

I'll follow up when I push the updates.

from shinystudio.

fresh2dev avatar fresh2dev commented on June 4, 2024

Okay, I pushed updates to both the base image (on DockerHub) and the master branch (for enhanced setup). Now, any time "Apps & Reports" or "Documents" is empty, the example content will first be copied to it. However, that is only done when either IDE is opened. For example, if you login for the first time and click "Documents", nothing will show. If you then open either IDE, then refresh "Documents", you will see the example content. You can also have underscores in the SITEID if desired.

Please setup from scratch and let me know how it goes.

Thanks,
Donald

from shinystudio.

engti avatar engti commented on June 4, 2024

Awesome. Just did it. It's working great. I can access apps, documents and the port 80 redirect is working just fine.

I guess in a few days I might trouble you for how to setup a Letsencrpt cert. I had done it previously for a regular Shinyproxy install. I imagine it's much the same? But I'm good for now.

Thanks a whole bunch. Really appreciate the time you've put into this.

Cheers :)

from shinystudio.

fresh2dev avatar fresh2dev commented on June 4, 2024

Glad to hear it!

I've made some good progress in integrating NGINX into the ShinyStudio stack for a SSL-secured site, but not specifically for LetsEncrypt.

The repo below (and its references) provides a good example of using ShinyProxy and NGINX with LetsEncrypt and auto-renewing certs.

https://github.com/TelethonKids/deploy_shiny_app

Hope it helps.

from shinystudio.

Related Issues (20)

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.