For a simple app like this on a local network, you can use the built-in web server and database (SQLite) -- so no external dependencies.
For a simple phonebook app: Add the following model at the end of the /models/db.py that comes with the scaffolding app: db.define_table('person', Field('name', requires=IS_NOT_EMPTY()), Field('photo', 'upload', requires=IS_EMPTY_OR(IS_IMAGE())), Field('address', 'text'), Field('email', requires=IS_EMAIL()), Field('phone'), format='%(name)s') And in /controllers/default.py: def index(): return dict(grid=SQLFORM.grid(db.person, user_signature=False)) And in /views/default/index.html: {{extend 'layout.html'}} {{=grid}} Of course, there's a lot more you can do to customize and add functionality, but that should get you started. To make it available on your local network, run the web2py file and specify 0.0.0.0 as the IP address. You can then access it from any computer on the network by going to the IP address of the computer where it is running. Anthony On Saturday, February 15, 2014 9:35:49 AM UTC-5, jimbo wrote: > > Hi I am thinking of using web2py for a small database instead of MS > Access. It is for a charity and would have only several hundred records of > employees and a table for clients. It would run on a local network with > probably only two computers using it. The usual name, address , tel no. and > some certificate and photo. It would avoid licence fees for a start and I > think easier to use via a browser > > I know a little about Access but very basic. Are there any simple examples > of where I could start, or some web2py appliance available? > > If any you can help or have something I can look at I would be very > grateful. It's as much a learing thing for myself as I know virtually > nothing aobut DB's. > > > Thanks, Jim > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.