I have just installed web2py on an xubuntu system (latest stable
download rather then from the Ubuntu repository). That's all OK and I
can run web2py.py and, after entering a password, the 'Welcome' page
appears in my browser.
I'm fairly experienced with the LAMP admin side of things so that was
very easy. I also use Python as my language of choice for utility
scripts etc. so I know the basics of Python.
However I'm still rather stumped trying to actually get to produce
something in my web browser using web2py.
I have been looking at the simple examples page:-
http://www.web2py.com/examples/default/examples
... and that's where I get stuck.
The first (minor) problem is that it says something like "In
controller: simple_examples.py" above each example. On my system
simple_examples.py is in
<web2py>/applications/examples/controllers/simple_examples.py
which isn't quite what it says.
... but more importantly what do I do to actually produce the pages
the examples are supposed to create?
Then (though this is maybe trying to run before I can walk as I can't
really understand the simplest examples) when you get down to the
database examples (which is what I'm particularly interested in) there
are various oddities:-
The 'try it here' link suddenly disappears, so I can't see what's
supposed to happen.
The directory <web2py>/applications/examples/databases is empty
There are two db.py files in my installation (I think one is to do
with the admin system, but still it's confusing)
--
Chris Green
·
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.