advent-of-code/README.md

40 lines
556 B
Markdown
Raw Normal View History

2022-12-09 16:46:30 +00:00
Advent of Code
2023-12-03 04:20:53 +00:00
# Running
## Setup
- `just setup`
## Create Day
- `just new`
## Running
Run the sample:
- `just sample`
Run Full:
- `just full`
Watching:
- `just wfull`
- `just wsample`
---
# Pre 2023
2022-12-09 16:43:00 +00:00
to run any day:
- make a virualenv `python3 -m venv env`
- source it `souce env/bin/activate`
- install deps `pip install -r requirements.txt`
2022-12-09 16:46:30 +00:00
- cd to proper dir `cd 2022/python/`
- run the day `python3 day01.py`
2022-12-09 16:43:00 +00:00
- to run sample code pass `--sample` as the argument. `python day01.py --sample`, (nothing special just checks sys.argv[-1])