From 3928bc53a4a0b71283971700606e47b47f51d4bf Mon Sep 17 00:00:00 2001 From: Andrej Orsula Date: Sat, 9 Mar 2024 14:43:09 +0100 Subject: [PATCH] Update README Signed-off-by: Andrej Orsula --- README.md | 54 +----------------------------------------------------- 1 file changed, 1 insertion(+), 53 deletions(-) diff --git a/README.md b/README.md index 99a32b8..c2fb39c 100644 --- a/README.md +++ b/README.md @@ -112,8 +112,7 @@ My solutions to [Advent of Code](https://adventofcode.com) puzzles. ## Instructions -
-

Rust

+### Rust #### Get Answers and Run Performance Benchmarks @@ -131,57 +130,6 @@ All days also include tests using sample inputs from the puzzle descriptions. cargo test ``` -
- -
-

Docker

- -> To install [Docker](https://docs.docker.com/get-docker) on your system, you can run [`.docker/host/install_docker.bash`](.docker/host/install_docker.bash) to configure Docker with NVIDIA GPU support. -> -> ```bash -> .docker/host/install_docker.bash -> ``` - -#### Build Image - -To build a new Docker image from [`Dockerfile`](Dockerfile), you can run [`.docker/build.bash`](.docker/build.bash) as shown below. - -```bash -.docker/build.bash ${TAG:-latest} ${BUILD_ARGS} -``` - -#### Run Container - -To run the Docker container, you can use [`.docker/run.bash`](.docker/run.bash) as shown below. - -```bash -.docker/run.bash ${TAG:-latest} ${CMD} -``` - -#### Run Dev Container - -To run the Docker container in a development mode (source code mounted as a volume), you can use [`.docker/dev.bash`](.docker/dev.bash) as shown below. - -```bash -.docker/dev.bash ${TAG:-latest} ${CMD} -``` - -As an alternative, VS Code users familiar with [Dev Containers](https://code.visualstudio.com/docs/devcontainers/containers) can modify the included [`.devcontainer/devcontainer.json`](.devcontainer/devcontainer.json) to their needs. For convenience, [`.devcontainer/open.bash`](.devcontainer/open.bash) script is available to open this repository as a Dev Container in VS Code. - -```bash -.devcontainer/open.bash -``` - -#### Join Container - -To join a running Docker container from another terminal, you can use [`.docker/join.bash`](.docker/join.bash) as shown below. - -```bash -.docker/join.bash ${CMD:-bash} -``` - -
- ## License This project is dual-licensed to be compatible with the Rust project, under either the [MIT](LICENSE-MIT) or [Apache 2.0](LICENSE-APACHE) licenses.