-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Add support to run project submissions in frameworks like react, node, django etc.
Refer this pull request for the initial work that has been done. Create your PR against the project-worker branch
- Create project scenario
- Complete setup method ( as done here in the test)
- Complete run method
- Complete result method
- Write tests for the methods and scenario
- Run project job from queue
- Accept following payload as input
{ "problem": <problem zip url>, "submission": <submission zip url>, "submissionDirs": <directories that can be editted>, "timelimit" <timelimit in seconds }- Send the payload to the job
- Refactor
src/tasks/job.ts- Create
src/tasks/jobs/directory - Move all the jobs other than Base class to individual files in jobs dir
Like moveRunJoband its type tosrc/tasks/jobs/run.ts - Refactor imports to support current structure
- Create