has2k1 / ug2021

2021 Elections

Home Page:https://has2k1.github.io/ug2021/

Repository from Github https://github.comhas2k1/ug2021Repository from Github https://github.comhas2k1/ug2021

ug2021

How to install

  1. Make sure you have uv and quarto installed

  2. Clone this repository

    git clone https://github.com/has2k1/ug2021
  3. cd into the repository

    cd ug2021
  4. Create and update the project environment

    uv sync
  5. Install ug2021 package in developer mode

    uv pip install -e .

Build the site

Check that everything is okay by building the site.

cd site
uv run quarto render

You can open the _site/index.html.

Do your thing

Anything you put in the .local folder will be ignored by git.

cd .local

So that is good place to play around, creating notebooks and quarto sites.

On invoking jupyter or quarto

Use uv run to invoke any programs that you want to use the environment that you have installed, provided you are inside the project folder. For example:

uv run jupyter notebook
uv run jupyter lab
uv run quarto preview
uv run quarto render

About

2021 Elections

https://has2k1.github.io/ug2021/


Languages

Language:Python 93.9%Language:SCSS 4.7%Language:CSS 1.4%