Hi Sunny,
We can not really help you further than what is in the documentation.
If you, or someone you know, has experience with Docker, it might be easier to use that to set up DOMjudge.
See https://hub.docker.com/r/domjudge/domserver <https://hub.docker.com/r/domjudge/domserver> for documentation.
Do note that the new version is not released yet; this is planed for somewhere in the upcoming months.
Nicky
> On 26 Aug 2019, at 08:24, Sony Krishna Swamy <sony.krishna.swamy(a)gmail.com> wrote:
>
> Dear Mr Nicky,
>
> I did not get a reply from anyone on help with installing the latest Domjudge at my AWS server.
>
> Could you please help with this? How can we take it forward?
>
> Sony Krishna Swamy
> Mobile: +91 9447710814
> f <http://facebook.com/sony.swamy> in <http://in.linkedin.com/pub/sony-krishna/6/114/a11>
>
>
> On Fri, Aug 16, 2019 at 4:01 PM Sony Krishna Swamy <sony.krishna.swamy(a)gmail.com <mailto:sony.krishna.swamy@gmail.com>> wrote:
> Have a great vacation, Mr Nicky. I'll ask the mailing list for help with the installation. My client it ready to pay for this, depending upon how it works out.
>
> Sony Krishna Swamy
> Mobile: +91 9447710814
> f <http://facebook.com/sony.swamy> in <http://in.linkedin.com/pub/sony-krishna/6/114/a11>
>
>
> On Thu, Aug 15, 2019 at 7:32 PM Nicky Gerritsen <nickygerritsen(a)me.com <mailto: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(a)gmail.com <mailto: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 <http://34.213.206.75/domjudge>
>>
>>
>> Sony Krishna Swamy
>> Mobile: +91 9447710814
>> f <http://facebook.com/sony.swamy> in <http://in.linkedin.com/pub/sony-krishna/6/114/a11>
>>
>>
>> On Thu, Jul 18, 2019 at 7:09 PM Nicky Gerritsen <nickygerritsen(a)me.com <mailto: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(a)gmail.com <mailto:sony.krishna.swamy@gmail.com>> wrote:
>>>
>>> Cool 👍
>>>
>>>
>>> Regards,
>>>
>>> Sony Krishna Swamy
>>>
>>>
>>> On 18 Jul 2019 5:14 pm, "Nicky Gerritsen" <nickygerritsen(a)me.com <mailto: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(a)gmail.com <mailto: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.
>>>>
>>>> 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(a)me.com <mailto:nickygerritsen@me.com>> wrote:
>>>> I’d say you can copy quite a lot from the jury interface.
>>>>
>>>> See:
>>>> https://github.com/DOMjudge/domjudge/blob/7.0/webapp/src/DOMJudgeBundle/Con… <https://github.com/DOMjudge/domjudge/blob/7.0/webapp/src/DOMJudgeBundle/Con…>
>>>> https://github.com/DOMjudge/domjudge/blob/7.0/webapp/src/DOMJudgeBundle/Res… <https://github.com/DOMjudge/domjudge/blob/7.0/webapp/src/DOMJudgeBundle/Res…>
>>>> 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(a)gmail.com <mailto: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 <http://facebook.com/sony.swamy> in <http://in.linkedin.com/pub/sony-krishna/6/114/a11>
>>>>>
>>>>>
>>>>> On Thu, Jul 18, 2019 at 4:09 PM Nicky Gerritsen <nickygerritsen(a)me.com <mailto: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 <https://www.domjudge.org/chat> or to use the domjudge-devel mailinglist: domjudge-devel(a)domjudge.org <mailto: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(a)gmail.com <mailto: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 <http://facebook.com/sony.swamy> in <http://in.linkedin.com/pub/sony-krishna/6/114/a11>
>>>>>
>>>>
>>>> <Screenshot_20190718-170741.png>
>>>
>>> <Screenshot_20190718-185705.png>
>>
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(a)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(a)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(a)gmail.com> wrote:
>>>
>>> Cool 👍
>>>
>>>
>>> Regards,
>>>
>>> Sony Krishna Swamy
>>>
>>>
>>>> On 18 Jul 2019 5:14 pm, "Nicky Gerritsen" <nickygerritsen(a)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(a)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.
>>>>>
>>>>> 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(a)me.com> wrote:
>>>>>> I’d say you can copy quite a lot from the jury interface.
>>>>>>
>>>>>> See:
>>>>>> https://github.com/DOMjudge/domjudge/blob/7.0/webapp/src/DOMJudgeBundle/Con…
>>>>>> https://github.com/DOMjudge/domjudge/blob/7.0/webapp/src/DOMJudgeBundle/Res…
>>>>>> 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(a)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(a)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(a)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(a)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>
>>