lugnitdgp / OnlineJ

Online Judge for holding coding competitions
http://codecracker.in/
MIT License
6 stars 16 forks source link

Rake task for adding new languages #33

Open divyanshumehta opened 7 years ago

divyanshumehta commented 7 years ago

For adding new languages to the judge currently the code in submission _worker need to be modified which is not favourable thing. Rake tasks can be made for addition of new coding languages. This will aloow the admin to easy add languages to the Judge.

kumarneetesh24 commented 7 years ago

The idea is good, but for that, you have to modify not only submission_worker also submission model at create_submission_data

kumarneetesh24 commented 7 years ago

and If you want admin to add any new language then also add execution command field in languages model and modify accordingly. But the problem arises when you use docker containers or the language is not installed on the system. I am assigning this to u. Try to fix.