{"id":16369694,"url":"https://github.com/dcsunset/thuai-defenseofsky","last_synced_at":"2026-03-03T17:30:16.174Z","repository":{"id":98895750,"uuid":"243775916","full_name":"DCsunset/THUAI-DefenseOfSky","owner":"DCsunset","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-25T01:46:25.000Z","size":13002,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-31T09:44:42.956Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DCsunset.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-28T14:04:05.000Z","updated_at":"2020-04-27T12:02:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"780f7e2e-7a2a-4863-a35d-f3ad6cbc2b65","html_url":"https://github.com/DCsunset/THUAI-DefenseOfSky","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCsunset%2FTHUAI-DefenseOfSky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCsunset%2FTHUAI-DefenseOfSky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCsunset%2FTHUAI-DefenseOfSky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DCsunset%2FTHUAI-DefenseOfSky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DCsunset","download_url":"https://codeload.github.com/DCsunset/THUAI-DefenseOfSky/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239885375,"owners_count":19713290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T02:56:03.428Z","updated_at":"2025-02-20T17:40:53.078Z","avatar_url":"https://github.com/DCsunset.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# THUAI DefenseOfSky\n\n[![Build Status](https://travis-ci.com/DCsunset/THUAI-DefenseOfSky.svg?token=GcJo7cdxZitoWy9qXz8p\u0026branch=master)](https://travis-ci.com/DCsunset/THUAI-DefenseOfSky)\n\nBotany is a customizable contest platform for games among programs.\n\n## Development tools for jury and participants\n\nSee [README in sdk/ directory](sdk/README.md).\n\n## Running the server\n\nTested Go version: 1.13.1, 1.13.7\n\nClone repository into `$GOPATH/src/github.com/DCsunset/THUAI-DefenseOfSky`, or create a symlink, whichever works.\n\nSet up PostgresQL and Redis server (refer to documentations for the target platform).\n\n```sh\ncd app\ngo get -d .\n\ncp config_sample.json config.json\nvim config.json     # Edit in any convenient way\n\ngo run .\n```\n\nIn case of unstable connection, use [goproxy.io](https://goproxy.io/) or try:\n\n```sh\nmkdir -p $GOPATH/src/golang.org/x\ncd $GOPATH/src/golang.org/x/\ngit clone https://github.com/golang/crypto\ngit clone https://github.com/golang/image\ngit clone https://github.com/golang/sys\n```\n\n## Running the frontend\n\nInstall Node.js first.\n\n```sh\ncd app/views\nnpm install\nnpm run dev\n```\n\n## Running the judge\n\nThe judge runs on Linux only.\n\nSee [judge/box.md](judge/box.md) for details.\n\n## Standards and conventions\n\nRun the code through Gofmt before committing. Not doing so will result in CI complaining.\n\n```sh\ngofmt -w .\n```\n\nVim users may consider adding the following to `~/.vimrc` so that indentation rules (`noexpandtab ts=4 sw=4`) apply inside `app/` directory.\n\n```vimrc\n:set exrc\n:set secure\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcsunset%2Fthuai-defenseofsky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcsunset%2Fthuai-defenseofsky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcsunset%2Fthuai-defenseofsky/lists"}