17 lines
491 B
Markdown
17 lines
491 B
Markdown
# aoc_template
|
|
|
|
Template for yearly AoC-Repositories
|
|
|
|
# Usage
|
|
|
|
- Clone repository (or use as template in gitea)
|
|
- Run `pip install -r requirements.txt`
|
|
- Update main.py and start_day.py: set YEAR (near the top) to the respective year
|
|
- Create a file named ".session" next to your main.py containing the contents of your aoc-session cookie
|
|
|
|
On a given day, just call `./start_day.py -d <day_of_month>`
|
|
|
|
# Not using PyCharm?
|
|
|
|
Just comment out the call() to CHARMS near the end of start_day.py
|