๐Ÿ“ฆ tolik518 / Advent_of_Code_2022

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching
๐Ÿ“ฅ Clone https://github.com/tolik518/Advent_of_Code_2022.git
HTTPS git clone https://github.com/tolik518/Advent_of_Code_2022.git
SSH git clone git@github.com:tolik518/Advent_of_Code_2022.git
CLI gh repo clone tolik518/Advent_of_Code_2022
Anatolij Vasilev Anatolij Vasilev initialized day 5 9dfc984 3 years ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ 2022
๐Ÿ“ docker
๐Ÿ“ scripts
๐Ÿ“„ .env
๐Ÿ“„ .gitignore
๐Ÿ“„ Makefile
๐Ÿ“„ README.MD
๐Ÿ“„ README.md

Advent of Code

This repository will contain my solution-attempts for the Advent of Code.

The repository is fully dockerized, so you only need Docker/Docker-Compose and Make to execute the code. No need to install Ruby locally - only if you want to run the code without docker.

First you need to build the docker image with

make build_image

To initialize this days readme and input, just execute

make init

To execute this days solution, just execute

make run

To run a specific day, just execute

make run year=2022 day=01

If you want to run the scripts without the Docker overhead then you'd need to install the Gemfile in the docker/ruby-folder first before executing the files.

Tip: Use git update-index --assume-unchanged .env to ignore changes to the .env-file