[Ur] Notes regarding Grid1 demo

Stefan Scott Alexander stefanscottalexx at gmail.com
Tue Dec 23 22:15:42 EST 2014


Below are some notes which may be helpful when running the Grid1 demo,
found here:

http://www.impredicative.com/ur/more/

(1) There are three necessary files which are not mentioned on the above
demo page:

grid.urp
grid.urs
grid.ur

You can the latest version of these files by cloning UrWeb's Mercurial
repository here:

http://hg.impredicative.com/urweb

(2) Column d of table t is a foreign key referencing table t1.

The web app interface does not provide a way to add records to table t1, so
you must use psql at the command line to add some records to table t1,
before adding any records to table t.

(3) When a new record is created in table t via the web app interface, it
initially sets column t.d to a default value of 0. So before you create any
records in table t, you must use psql to create a record in table t1 having
id=0.

###
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.impredicative.com/pipermail/ur/attachments/20141224/3e1e0fc3/attachment.html>


More information about the Ur mailing list