tolik518 / Advent_of_Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Ruby 88.4%Language:Makefile 7.5%Language:Dockerfile 2.6%Language:Shell 1.6%