https://github.com/ctlab/phantasus
Raw File
Tip revision: c6bb0e960554a23eb712690cbd7f8e3f7d79ca0d authored by Alexey Sergushichev on 02 July 2021, 13:19:49 UTC
Update js
Tip revision: c6bb0e9
servePhantasus.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/serve.R
\name{servePhantasus}
\alias{servePhantasus}
\title{Serve phantasus.}
\usage{
servePhantasus(
  host = "0.0.0.0",
  port = 8000,
  staticRoot = system.file("www/phantasus.js", package = "phantasus"),
  cacheDir = tempdir(),
  preloadedDir = NULL,
  openInBrowser = TRUE,
  quiet = TRUE
)
}
\arguments{
\item{host}{Host to listen.}

\item{port}{Port to listen.}

\item{staticRoot}{Path to static files with phantasus.js
(on local file system).}

\item{cacheDir}{Full path to cache directory.}

\item{preloadedDir}{Full path to directory with preloaded files.}

\item{openInBrowser}{Boolean value which states if application will be
automatically loaded in default browser.}

\item{quiet}{Boolean value which states whether the connection log should
be hidden (default: TRUE)}
}
\value{
Running instance of phantasus application.
}
\description{
\code{servePhantasus} starts http server handling phantasus static files
    and opencpu server.
}
\examples{
\dontrun{
servePhantasus()
}
}
back to top