View source: R/deploy_course.R
deploy_course | R Documentation |
After the course build process is finished the generated json files can be uploaded through this function.
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) )
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.