Skip to content

A judger of Knight Online Judge which is written in Kotlin to judge the submission code of the online judge.

License

Notifications You must be signed in to change notification settings

sinmaplewing/knight-online-judge-judger

Repository files navigation

Judger Project of the Knight Online Judge

Contributors Forks Stargazers Issues MIT License

A judger of Knight Online Judge which is written in Kotlin to judge the submission code of the online judge.

About The Project

This project is from the 30 days challenge which is held by iThome. About the tutorial articles, you can see them here. (in Traditional Chinese)

Built With

Getting Started

First, you have to set up the backend project.

Second, you need to add a file /main/resources/hikari.properties to set up the connection setting with the PostgreSQL server. The content in it is:

dataSourceClassName=org.postgresql.ds.PGSimpleDataSource
dataSource.user=......
dataSource.password=......
dataSource.databaseName=......
dataSource.portNumber=......
dataSource.serverName=......

Third, you need to install Docker to use container to judge the code. You need to pull these images:

  1. zenika/kotlin
  2. gcc
  3. python

Last, run this project with the command gradlew run.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Maplewing - Website - [email protected]

Project Link: https://github.com/sinmaplewing/knight-online-judge-judger

About

A judger of Knight Online Judge which is written in Kotlin to judge the submission code of the online judge.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages