deploy_course: Deploy Quantargo Course

View source: R/deploy_course.R

deploy_courseR Documentation

Deploy Quantargo Course

Description

After the course build process is finished the generated json files can be uploaded through this function.

Usage

deploy_course(
  course_id,
  path = ".",
  index = read_yaml(file.path(path, "index.yml")),
  json_files = get_json_files(path),
  asset_files = get_asset_files(path),
  apikey = getOption("QKEY"),
  url = getOption("QBITURL", "https://api.quantargo.com/v2"),
  tmpdir = file.path(tempdir(), course_id)
)

Arguments

course_id

character; Name of the QBit function.

path

character; Root path of course.

index

list; Index meta data for qbit.

json_files

character; list of json files to be uploaded through endpoint

asset_files

character; files to be uploaded as course assets.

apikey

character; API key from QBit platform.

url

character; Upload url to be used

tmpdir

character; Temporary directory to be used for qbit/zip creation.


quantargo/qbit documentation built on March 20, 2022, 10:35 a.m.