- Fork this repository, and then clone the fork.
- Add a
credentials.txt
with your Polygon APIKey and Secret in the following format
{
"apiKey" : "",
"secret" : ""
}
- Create a new problem on polygon and copy its problem id
- Run
./createProblem problemId
to create a folder for the problem with skeleton files. - Fill in all the details inside the files. Use Markdown for statements and tutorials
- Once done, open
changes.txt
and add the problem id's of all problems which you wish to update on polygon - Run
go build main.go && ./main
to update on Polygon - Commit changes on Polygon
Currently unsupported -
- Adding a custom checker
- Interactive problems
- Adding a validator
- Adding manual tests
- Setting a test to use as an example
- Adding multiple solution files or changing the tags on solution files
- Running invocations on solutions
- Creating and downloading packages