简体   繁体   中英

Pulling/Cloning already deployed application from shinyapps.io

I have deployed an application from my home computer on the shinyapps.io server.

How, can I pull the same app instance to another computer. I have already added the token and have permissions to my account from the second computer. Is there cloneApp() or pullApp() function or something like this? or I would have to host it on github and then I have more freedom.

Thanks

One possible solution would be to host the code on github and then the only thing you have on shinyapps.io would be a pointer to pull down the relevant code from your github repo.

server.R:
eval(parse(text=RCurl::getURL("https://gist.github.com/myrepo", ssl.verifypeer=FALSE)))

ui.R:
eval(parse(text=RCurl::getURL("https://gist.github.com/myrepo", ssl.verifypeer=FALSE)))

That way, the app will serve at shinyapps.io, and you can clone that github repo from wherever you like.

Take a look at this discussion as well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM