This vignette is applicable to Sage employees who are deploying the application on our Shiny Pro server. To learn about the server and how to get credentials, please read the Confluence documentation.
The app is deployed on the server through the following steps:
/home/kwoo/ShinyApps/dccvalidator-app
git pull
changes from GitHubrenv::restore()
You may need to run touch restart.txt
afterward to ensure the application is restarted.
If you want to deploy the app in a different location (e.g. because you want to stand up a new version that is customized for a different community):
/home/yourusername/ShinyApps
git clone
the repository into the folder you’ve createdclient_name
, client_id
and client_secret
and restrict permissions (chmod 600 .Renviron
or chmod 400 .Renviron
)renv::restore()
location /users {
location /yourusername/yourappname {
utilization_scheduler 1 0.7 10;
}
}
Again, you may need to run touch restart.txt
afterward to ensure the application is restarted.