Dear DOMJudge developers,

I need help with the installation of the latest version of DOMJudge in my Amazon Web server.

I am a PHP coder, who just doesnt understand the installation documentation, and AWS.

Anyone who can help with this, please reply. My client is willing to pay for this service, depending on how it works out.

Regards,

Sony Krishna Swamy
Mobile: +91 9447710814
 f               in


On Thu, Aug 15, 2019 at 7:32 PM Nicky Gerritsen <nickygerritsen@me.com> wrote:
I am currently on holiday so I can not answer extensively, but basically the demo is our master branch, which is indeed newer. We plan to release it in September or October.
I have forwarded your mail to the DOMjudge development list (see cc). Perhaps one of the others can answer in more detail.

Nicky 

Sent from my iPhone

On 15 Aug 2019, at 13:54, Sony Krishna Swamy <sony.krishna.swamy@gmail.com> wrote:


Dear Mr Nicky,

I have finally been able to save content from Ace Editor into a file in tmp directory, and to be able to read it into domjudge. Thank you so much for sharing the correct code to refer!

I can see that there are lots of improvements to DomJudge, in the online demo.

Unfortunately, I have gotten an older version, DOMjudge/6.0.3 installed, which i had made a payment for to someone, since I do not understand the documentation for installation, and am unfamiliar with AWS server. I know to code in PHP.

Is there a simple way to upgrade? Or does it require a reinstallation?

Could you please help me with installing the new version?

This is where my domjudge is hosted now: http://34.213.206.75/domjudge


Sony Krishna Swamy
Mobile: +91 9447710814
 f               in


On Thu, Jul 18, 2019 at 7:09 PM Nicky Gerritsen <nickygerritsen@me.com> wrote:
Note that you seem to be using an old DOMjudge (5.x? 6.x?). You should upgrade to 7.0 for that code to work.

Nicky

On 18 Jul 2019, at 15:29, Sony Krishna Swamy <sony.krishna.swamy@gmail.com> wrote:

Cool 👍
 

Regards,

Sony Krishna Swamy
    

On 18 Jul 2019 5:14 pm, "Nicky Gerritsen" <nickygerritsen@me.com> wrote:
Hi,

You should go to the admin interface, edit your user and assign the team role. Also add a team from the team dropdown.

Nicky

On 18 Jul 2019, at 13:41, Sony Krishna Swamy <sony.krishna.swamy@gmail.com> wrote:

Thank you so much! 🤗

I just hope they work on AWS. 

I just quickly tried editting the submitted code as jury(admin), but it gave an error that you have to be part of a team to edit code.
image.png
error: You cannot re-submit code without being a team.

I have added admin as a member of the team too, still got this error.

Creating and writing a file (like hello.c) is my only roadblock in AWS. I'm assuming you need to upload the code as file only, so that upload.php in /team can take it up for processing. Is there any other way? Like write the code as a blob into the database directly, but ensure it is judged?


Regards,

Sony Krishna Swamy
    

On 18 Jul 2019 4:44 pm, "Nicky Gerritsen" <nickygerritsen@me.com> wrote:
I’d say you can copy quite a lot from the jury interface.

See:
That second file contains the | codeEditor filter, which will generate an ACE editor and the first one processes these files and submits them.

Regards,

Nicky

On 18 Jul 2019, at 12:45, Sony Krishna Swamy <sony.krishna.swamy@gmail.com> wrote:

Wow, thanks a lot for letting me know ACE editor is there in the jury interface.
I'll check this out.

I need ACE editor for participants to write and save the code. And domjudge to pick it up from there.
Do you have anything like that?

Sony Krishna Swamy
Mobile: +91 9447710814
 f               in


On Thu, Jul 18, 2019 at 4:09 PM Nicky Gerritsen <nickygerritsen@me.com> wrote:
Dear Sony,

For these kinds of things it is best to either join our Slack using https://www.domjudge.org/chat or to use the domjudge-devel mailinglist: domjudge-devel@domjudge.org

I don’t really understand the issue completely; can’t you set up PHP on EC2 yourself? I.e. configure it to allow to write files.
What do you want to use the ACE editor for? We already have the ACE editor in the jury interface to edit submissions, so you could look at how we did it there.

If you need more help, please join us on Slack or use the -devel mailinglist.

Regards,

Nicky

On 18 Jul 2019, at 12:30, Sony Krishna Swamy <sony.krishna.swamy@gmail.com> wrote:

Hi DOMJudge team,

DOMJudge is brilliant! 

I am stuck in a situation. I want to package ACE editor and DOMJudge together. I have installed DOMJudge in an AWS EC2 instance. I am unable to Save the code as a file from ACE Editor, as AWS is not allowing fwrite function of PHP. I have changed the code of upload.php in Domjudge to take a saved file from a folder rather than upload it.

Could you help me with the best installation method for DOMJudge such that I can use fwrite too? Or is there any other way to integrate an editor with DOMJudge?

Regards,

Sony Krishna Swamy
Mobile: +91 9447710814
 f               in


<Screenshot_20190718-170741.png>

<Screenshot_20190718-185705.png>