do_deploy_api {plumber} | R Documentation |
Deploys an API from your local machine to make it available on the remote plumber server.
do_deploy_api(droplet, path, localPath, port, forward = FALSE, swagger = FALSE, preflight)
droplet |
The droplet on which to act. It's expected that this droplet
was provisioned using |
path |
The remote path/name of the application |
localPath |
The local path to the API that you want to deploy. The
entire directory referenced will be deployed, and the |
port |
The internal port on which this service should run. This will not
be user visible, but must be unique and point to a port that is available
on your server. If unsure, try a number around |
forward |
If |
swagger |
If |
preflight |
R commands to run after |