- Check out code
pipenv install
pipenv shell
- Run:
./main.py 2022 2
for day 2 of 2022./main.py
for all days on the default year
- Check out code
pipenv install -d
pipenv shell
pre-commit install
- Run tests:
python -m unittest discover -s 2024
- Install advent-of-code-data (included in
pipenv install -d
) - export Session token from Browser:
export AOC_SESSION=cafef00db01dfaceba5eba11deadbeef
aocd 2 2022 > data/2022/day13.txt