Prepare your machine just like you'd prep it for any Phoenix app (but it is a LiveBook app).
Run this on the command line:
mix phx.server
And then follow these steps:
- Open http://localhost:4000
- Navigate to the 2021adventOfCode directory
- Select the day you want
- Press the OPEN button
- Edit and it will auto-save
- Solve the puzzle
git commit -am 'Solved day NN!'
cp template.livemd 2021adventOfCode/dayNN.livemd
Then just edit it in the app.
These are the ones I like.