From f8a7ae6067274f938db70155dc965e4bcebc2e8b Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Sat, 12 Oct 2024 06:34:40 -0400 Subject: [PATCH] docs: update OS restriction --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c4aa581..691a206 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,16 @@ ## Quick Start -1. Make sure you are in a Unix-like OS (Linux, MacOS). For Windows, use [WSL 2](https://learn.microsoft.com/en-us/windows/wsl/install). +1. Clone this repo in a Linux computer. For Windows, use [WSL 2](https://learn.microsoft.com/en-us/windows/wsl/install). + +```bash +$ git clone ssh://git@focs.ji.sjtu.edu.cn:2222/JOJ/JOJ3.git +``` 2. Install [Go](https://go.dev/doc/install). Also, make sure `make` and `git` are installed and all 3 programs are presented in `$PATH`. - If you have problem on connecting to the Go website and Go packages, download Go from [studygolang](https://studygolang.com/dl) and run `go env -w GOPROXY=https://goproxy.io,direct` to set the Go modules mirror proxy after installing Go. -3. Enable cgroup v2 for your OS. Check [here](https://stackoverflow.com/a/73376219/13724598). So that you do not need root permission to run `go-judge`. +3. Enable cgroup v2 for your OS. For WSL2, check [here](https://stackoverflow.com/a/73376219/13724598). So that you do not need root permission to run `go-judge`. 4. Clone [go-judge](https://github.com/criyle/go-judge).