Open arcturusannamalai opened 8 years ago
I am interested to help with this. Learn2code
plugin uses hackerrank
to compile the source code, integrating may require permission and code changes to upstream. So I propose two solutions.
server url
for compilation. Developer can use the localhost
here.Previously I have done similar to stuff to use Python offline using empythoned.
If some students are interested to work on this, I will be glad to take back step. Please let me know your thoughts.
@kracekumar - Thanks for your interest and detailed comments; before we begin any technical comments, can you please confirm you are able to run the local web server from Ezhil-Lang repository?
$ cd ezhil-lang && ./webserver.sh
The point your browser to http://localhost:8080/
This is where I see the application for the chrome/mozilla plugin should post its data and receive its output from.
Yes, I am able to run the web server and execute the program.
@kracekumar - Thanks for checking. So does this issue/ticket make sense in the context of this existing web-service ? I'm really looking for a nice interface via Chrome or Firefox, and suitable additions to webservice - JSON capability etc.
@arcturusannamalai Quick look at the source reveals alteration in API with JSON support. I can do that as first step, before start writing code, I will dig more into the code and list down bunch of changes required. is that fine ?
I will be glad to change the home screen with bootstrap
is that fine ?
Please go ahead! Thanks.
The web server uses inbuilt SimpleHTTPServer
and has boilerplate code which can be simplifed by using Flask ?
5000
.EZWeb.py
and use port 8080
.Nice breakdown of tasks @kracekumar
I already have some Django code under koodam which is deployed at ezhillang.org
While I prefer we stick with Django you may use Flask, if you are not familiar with the Django framework.
I am super familiar with Django. I will use that. Thanks @arcturusannamalai
Use Learn2Code Chrome plugin to run Ezhil on localhost (Ref: https://github.com/sridhar87/Learn2Code/ )