[racket] Try-Racket.org
1. I tryed to run it localy but all I can see in the browser is the html site! The console is no where to see! I don't get any errors! I'm running it with drracket!
I open main.rkt in DrRacket and run it then goto my browser ( tryed firefox, iexplore and chrom) and open localhost:8080 but i see only the header and html text, there is no console or any thing like this to input data!
Any idea? I have already updated my packages!
> On 30 Oct 2014, at 18:58, Andrew Ulrich <andrewsotheraccount at gmail.com> wrote:
>
> I haven't tried it myself, but it looks like the main.rkt sets up a webserver to handle requests, using define-values to route urls and runs the code in a sandbox. So as to your question "where is the server?", it's wherever you launch main.rkt. As the instructions say, your url should just be localhost:8080 if you launch it locally and you'll see it run. Like I said, I haven't tried it myself yet, but to launch it you should just run on the command line it like any other racket file:
>
> racket main.rkt
>
> The client side runs on jquery console, with an ajax call being made back to the server when the console's commandHandle event is triggered. Looks straightforward enough.
>
> To translate to another language, you would just translate the text of all the html files you find in the project and you should be done. Would be nice to see a fork.
>
> Good luck,
> Andrew Ulrich
>
>> On Tue, Oct 28, 2014 at 9:21 AM, Chrakhan Barzanji <chrakhan.barzanji at gmail.com> wrote:
>> Hi,
>> i'm trying to understand how Try-Recket Console "post"s a .ajax request to the server and
>> where ist the server, url? could please some one explain?
>> there is also json-parse and 3 .rkt files,
>> but I just don't get is how they will be called and executed!
>> As i mentioned before I just want to use the same console like by TryRacket but in my own Website with none-english explaination! thank you..
>>
>> ____________________
>> Racket Users list:
>> http://lists.racket-lang.org/users
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20141030/5ac62463/attachment-0001.html>