Report this

What is the reason for this report?

How to restore droplet with R pulmber API running?

Posted on November 28, 2020

I have created a Rstudio droplet with a plumber API under the user ‘rtest’ at location ‘/home/test/api.R’. I have taken a snapshot of this droplet. Now I am trying to restore the droplet using digital ocean API and run the command to start the plumber API. The following steps need to be done to run the API:

  1. Restore the droplet
  2. LogIn as “rtest” with credentials
  3. Change directory to "/home/rtest/
  4. Execute command “Rscript api.R”

How can I accomplish this? Or I need to do something else?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.