Description Usage Arguments Examples
This function sets up the user's GitHub credentials and then uses those credentials to configure Rclone and DataTracker. Before using this function, you need to create a GitHub account, create a GitHub access token, and be added to the Lab's GitHub. This function is specific to the DNPL at UPMC.
1 |
github_uname |
Your GitHub username. |
github_token |
Your GitHub access token. |
proj_name |
Is the name of your project, this will default to the lab's name if not specified. |
use_global_cfg |
If you are using a pre-set environment or starting your own based on the config file pulled. |
1 | set_github_creds(github_uname=<username>, github_token=<token>)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.