mirror of
https://github.com/cupcakearmy/advent-of-code.git
synced 2024-10-15 01:04:34 +02:00
readme
This commit is contained in:
parent
58df0a8bbe
commit
40e3c65a5b
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user