Chapter 3 Use DigitalOcean to setup your Shiny App

ssh [username]@server_ip_address
sudo systemctl stop shiny-server
sudo systemctl start shiny-server
  • Change the conf file:
sudo nano etc/shiny-server/shiny-server.conf
  • Upload local app code:
scp [local file] [username]@server_ip_address:~/
  • Make a new directory and move the app to the folder:
sudo mkdir [new folder name]
# we upload the file from local to ~/
cd ~
mv ~/[file name]/srv/shiny-server/sample-apps/[new folder name]

Questions:

  • how do they charge
  • Destroy v.s. turn off