Skip to content

Commit

Permalink
Add notes to self about how to run
Browse files Browse the repository at this point in the history
  • Loading branch information
mjalkio committed Dec 2, 2023
1 parent 3f0cc70 commit 309e6b1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
# advent-of-code
Repository to hold Advent of Code (http://adventofcode.com/) solutions.

## Setup

* Set up a virtual environment `python -m venv venv`
* Activate it `source venv/bin/activate`
* Install requirements `pip install -r requirements.txt`
* Set up PYTHONPATH `export PYTHONPATH="${PYTHONPATH}:/path/to/advent-of-code"`
* Use `python util.py` to set up each day
* Run each day using `python year_2023/day01/trebuchet.py`
* Update tox.ini to set default year for testing

0 comments on commit 309e6b1

Please sign in to comment.