do_deploy_api {plumberDeploy} | R Documentation |
Deploy or Update an API
Description
Deploys an API from your local machine to make it available on the remote plumber server.
Usage
do_deploy_api(
droplet,
path,
localPath,
port,
forward = FALSE,
docs = FALSE,
preflight,
overwrite = FALSE,
...
)
Arguments
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 |
docs |
If |
preflight |
R commands to run after |
overwrite |
if an application is already running for this |
... |
additional arguments to pass to |
Value
The DigitalOcean droplet, but called for side effects