On Fri, Aug 28, 2009 at 10:33 AM, theo<
theoj...@gmail.com> wrote:
>
> First of all, I would like to say how pleased I am with codenode; I
> have been searching for a web-based programming tool for a while.
Great!
It
> was hard getting started - not installing, but using it: I couldn't
> find any documentation online. Lukily, I stumbled upon
http://knoboo.com/demos/
> which finally told me how to run the script! (shift+enter)
Oh my, I'll say that this is a pretty bad "bug". We need to make it way more
obvious how to get started. I'll be (re)-adding the "help" tab back into the
interface very soon (I'm working on making all the documentation work
with Sphinx).
What was the very first thing you did to figure out how to run
some code? Do you have any suggestions on how to make getting
starting way more painless?
>
> So far I have used Apache's ProxyPass to redirect a subdomain to the
> server running on twisted (localhost:8000). That works OK, however, I
> would like to set it up similarly to Django using SetHandler and
> PythonHandler. I tried setting it up the way I would with Django and
> everything works fine except for running the notebook code - when I
> hit shift+enter nothing happens. Does anybody know how this would be
> done with Apache?
This should be very possible, but there could be some type of bug.
So just to understand correctly what you are trying to do, you
are running Django off Apache (not Twisted WSGI, which is the default).
Actually what could be the problem is that there are a couple key
http resource (namely, "/asyncnotebook/the_notebook_guid/*) that
are not Django views, they are Twisted Resources, and there could
be a problem with apache proxying them. I or someone else will
actually try do this, get it working, and then reply with a solution.
Also, would it be possible to, instead of having it
> on a subdomain, accessing it like this:
example.com/codenode/ and move
> the root "/" to "/codenode/"?
Yes, this also should be possible. We'll figure out what the issue is and
put up the solution.
thanks,
Alex
>
> Thank you
> >
>
--
Alex Clemesha
clemesha.org