mirror of
https://github.com/cupcakearmy/advent-of-code.git
synced 2024-12-21 15:46:28 +00: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
|
# First time setup
|
||||||
bun i
|
bun i
|
||||||
|
|
||||||
# Put the Advent of Code token into .env
|
# Put the Advent of Code token into .env (details below)
|
||||||
|
|
||||||
# Generate day
|
# Generate day
|
||||||
bun run gen --year 2022 --day 1
|
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
|
## Languages
|
||||||
|
|
||||||
Below are instructions for the specific handling of each language included.
|
Below are instructions for the specific handling of each language included.
|
||||||
|
Loading…
Reference in New Issue
Block a user