summaryrefslogtreecommitdiff
path: root/run.R
diff options
context:
space:
mode:
Diffstat (limited to 'run.R')
-rw-r--r--run.R4
1 files changed, 4 insertions, 0 deletions
diff --git a/run.R b/run.R
new file mode 100644
index 0000000..6733c2e
--- /dev/null
+++ b/run.R
@@ -0,0 +1,4 @@
+
+library(plumber)
+r <- plumb("plumber.R") # Where 'plumber.R' is the location of the file shown above
+r$run(host="0.0.0.0", port=8001, swagger=TRUE) \ No newline at end of file