This commit is contained in:
Niccolo Borgioli 2023-11-29 16:02:54 +01:00
parent 58df0a8bbe
commit 40e3c65a5b
No known key found for this signature in database
GPG Key ID: D93C615F75EE4F0B
1 changed files with 7 additions and 1 deletions

View File

@ -16,12 +16,18 @@ New "days" are generated with [`hygen`](https://github.com/jondot/hygen). This w
# First time setup
bun i
# Put the Advent of Code token into .env
# Put the Advent of Code token into .env (details below)
# Generate day
bun run gen --year 2022 --day 1
```
> Extracting the Advent of Code cookie
>
> 1. Navigate to https://adventofcode.com/ and login.
> 2. Open dev tools and copy the cookie named `session`.
> 3. save `TOKEN=<my-token>` to `.env`.
## Languages
Below are instructions for the specific handling of each language included.