Syncing with codecrafters-io/languages

Created by https://github.com/codecrafters-io/languages
This commit is contained in:
Paul Kuruvilla 2022-02-09 21:01:33 +00:00
parent 834990434e
commit 7337f1e913

View File

@ -23,20 +23,15 @@ git push origin master
That's all!
# Setup for stages 2 & beyond
# Stage 2 and beyond
1. Ensure you have [Docker](https://www.docker.com/) installed locally.
1. Follow the details below ("Running your program locally") to run your Docker
implementation, which is implemented in `src/main.rs`.
1. Commit your changes and run `git push origin master` to submit your solution
to CodeCrafters. Test output will be streamed to your terminal.
You'll use linux-specific syscalls in this challenge. so we'll run your code
_inside_ a Docker container.
### Running your program locally
Please ensure you have [Docker installed](https://docs.docker.com/get-docker/)
locally.
Since you'll need to use linux-specific syscalls in this challenge, we'll run
your code _inside_ a Docker container.
Start by adding a [shell alias](https://shapeshed.com/unix-alias/):
Next, add a [shell alias](https://shapeshed.com/unix-alias/):
```sh
alias mydocker='docker build -t mydocker . && docker run --cap-add="SYS_ADMIN" mydocker'