sausheong / polyglot

Polyglot is a distributed web framework that allows programmers to create web applications in multiple programming languages
626 stars 34 forks source link

polyglot just hangs #5

Closed johnjelinek closed 10 years ago

johnjelinek commented 10 years ago
$ ./polyglot

and nothing else happens. Maybe I need to hit a route on port 8080?

johnjelinek commented 10 years ago

Yea, I needed to hit a route on port 8080, but now I'm confused at how to hit the go responder:

$ curl http://localhost:8080/go/hello
404 page not found
$ curl http://localhost:8080/_/go/hello
Not Found
johnjelinek commented 10 years ago

I got the ruby one figured out:

$ curl http://localhost:8080/_/ruby/haml
<html>
  <head>
    <title>Ruby and Haml example</title>
  </head>
  <body>
    <h1>This is the Haml template example</h1>
    <div>
      Hello, world!
    </div>
  </body>
</html>
sausheong commented 10 years ago

The go responder is not complete yet, sorry.

sausheong commented 10 years ago

I have completed the Go responder.