codalab/codalab — pull request #460 by Raisins (2014-06-07 00:12:03+00:00)
Title: Simple dev competition generator

Two Django command meant to make local development easier and allow full end to end testing of a competition same as a user would do it.

python manage.py create_competition_zip
python manage.py create_solution_zip

They currently read off yaml and other files created here.
https://github.com/Tivix/competition-examples/tree/master/hello_world

These commands and pull request is more for devs and maybe an undocumented feature to smoke test things.

I would also encourage editing of create_competition_zip to fit your needs to add anything you might need. This is a local dev tool for speeding up end to end testing/debugging rather then spending time making sure you have correct zip files and subfolders.

The phases generate with hour in min. default is 5 phases with 10 min apart. A pretty rapid competition but enough time to switch users or run whatever else you might want to test.