-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to run a golem application on shiny-server? #936
Comments
|
yes, the app.R file is missing in your server. Regards |
do you manage to deploy your app ? |
Hey, > x <- tempdir()
> golem::create_golem(x, overwrite=TRUE)
[...Redacted]
> golem::add_shinyserver_file()
── Creating _disable_autoload.R ─────────────────
✔ Created
✔ Adding '^app\\.R$' to '.Rbuildignore'
✔ Adding '^rsconnect$' to '.Rbuildignore'
✔ Adding 'pkgload' to Imports field in DESCRIPTION
• Refer to functions with `pkgload::fun()`
✔ File created at /private/var/folders/9w/zdlv83ws6csdjnfc5x819gtr0000gn/T/Rtmpk8FUoe/app.R
To deploy, run:
• rsconnect::deployApp()
• Note that you'll need to upload the whole package to Shiny Server
> list.files(x)
[1] "app.R"
[2] "DESCRIPTION"
[3] "dev"
[5] "inst"
[7] "man"
[8] "NAMESPACE"
[9] "R"
Let me know if this helps :) Colin |
I can not. I already inserted the I can't leave the source code with the client, just the package. I put the
Thank you for your support. |
I have a shiny app (
golem
) and I would like to put it on a shiny-server (locally).Which creates an
app.R
file.I downloaded the package with
devtools::install_github()
in other computer.And I put the folder of this package inside
srv/shiny-server/
Suppose my package name is
mygolempackage
, this is what appears when I run ithttp://192.000.0.000:3838/mygolempackage/
:When I run a conventional app (with
.ui
and.server
files), it works normally.But I would like to know if there is a possibility to serve other users through a packaged shiny (created with
golem
). I appreciate the support.The text was updated successfully, but these errors were encountered: