Skip to content

UBC-MDS/DSCI_532-projects

Repository files navigation

DSCI_532-projects

Scripts for managing DSCI 532 project repositories from the UBC-MDS GitHub organization.

Setup

Create a virtual environment and install dependencies:

make setup

Or manually:

uv venv
source .venv/bin/activate
uv pip install -e .

Usage

GitHub Authentication

The script requires a GitHub Personal Access Token (PAT). You can provide it in three ways (in order of precedence):

  1. Enter it when prompted (press Enter to skip to next option)
  2. Store in a .env file (copy .env.example to .env and add your token):
    cp .env.example .env
    # Then edit .env and add your token
  3. Set as an environment variable:
    export GITHUB_TOKEN=your_token_here
    # or
    export GITHUB_PAT=your_token_here

To create a token, visit: https://github.com/settings/tokens

Running the Scripts

The project includes several scripts that should be run in sequence:

make all

Quarto Document

Preview Locally

To render and preview the Quarto website locally:

quarto preview

This will start a local web server and automatically open the site in your browser. The preview will auto-refresh when you make changes to any .qmd files.

Render Only

To build the site without previewing:

quarto render

The rendered site will be in the _site/ directory.

About

Student Data Vis II Dashboard projects

Resources

Stars

Watchers

Forks

Contributors