-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |