Merge pull request #8 from codecrafters-io/sync
Sync with languages repo
This commit is contained in:
commit
34bb05db95
17
README.md
17
README.md
@ -23,20 +23,15 @@ git push origin master
|
|||||||
|
|
||||||
That's all!
|
That's all!
|
||||||
|
|
||||||
# Setup for stages 2 & beyond
|
# Stage 2 and beyond
|
||||||
|
|
||||||
1. Ensure you have [Docker](https://www.docker.com/) installed locally.
|
You'll use linux-specific syscalls in this challenge. so we'll run your code
|
||||||
1. Follow the details below ("Running your program locally") to run your Docker
|
_inside_ a Docker container.
|
||||||
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.
|
|
||||||
|
|
||||||
### 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
|
Next, add a [shell alias](https://shapeshed.com/unix-alias/):
|
||||||
your code _inside_ a Docker container.
|
|
||||||
|
|
||||||
Start by adding a [shell alias](https://shapeshed.com/unix-alias/):
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
alias mydocker='docker build -t mydocker . && docker run --cap-add="SYS_ADMIN" mydocker'
|
alias mydocker='docker build -t mydocker . && docker run --cap-add="SYS_ADMIN" mydocker'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user