- Go 1.21+
- Docker
- Git
-
Clone repository:
git clone git@github.com:Gurkengewuerz/GitCodeJudge.git cd GitCodeJudge
-
Install dependencies:
go mod download
go build -o judge ./cmd/main.go
docker build -t gitcodejudge -f docker/server/Dockerfile .
docker build -t gitcodejudge -f docker/judge/Dockerfile docker/judge
go test ./...
go test -coverprofile=coverage.out ./...
go tool cover -html=coverage.out
go fmt ./...
golangci-lint run
.
├── cmd/ # Application entrypoints
├── internal/ # Private application code
│ ├── config/ # Configuration handling
│ ├── judge/ # Core judge logic
│ ├── models/ # Data models
│ └── server/ # HTTP server
└── test_cases/ # Example test cases
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request