Loki: my attempt at creating an online judge
anomit | July 5, 2009This would be my first major open source contribution out in the wild. If you don’t know what an online judge means here, consider paying a visit to SPOJ or UVa Online Judge to get an idea.
I wrote a mammoth README file that covers all the issues and features of this system and won’t waste much space here copying the same thing. It’s hosted at github (Rohit, happy now?
). Head over to the main tree of the project.. Right now the source needs ugly hackery to get it running on another computer but I promise to correct that in the next few releases. Till then I believe the README you will help you out.
Oh, the code is licensed GPLv2 by the way. But you already knew it, didn’t you? ![]()







I installed Smarty ... then I tried to run index.php
Kartik | July 5, 2009I installed Smarty … then I tried to run index.php in the judge directory but only “Hello, ! ” came up .
What did I miss ??
You missed something from the README. I've included the only
anomit | July 5, 2009You missed something from the README.
You are following just what they said in the installation guide on the Smarty website. Obviously it’ll produce what they wanted to show you, a hello world message
So change the Smarty paths in config.php and put index.tpl from the source in your Smarty templates directory.
I have already done all this ... I copied the
Kartik | July 6, 2009I have already done all this …
I copied the template file to my smart directory , edited the paths and changed the mysql parameters too..
I will recheck the installation of smarty then..
Maybe you are accessing the wrong document from localhost? For
anomit | July 6, 2009Maybe you are accessing the wrong document from localhost? For eg if the document root is /var/www and the source is at /var/www/judge, then you have to access http://localhost/judge
OT: Your blogroll is very outdated. One blog doesn't even
Aditya Mukherjee | July 27, 2009OT: Your blogroll is very outdated. One blog doesn’t even exist anymore
Aditya, fixed and updated :P
anomit | September 2, 2009Aditya, fixed and updated