Urweb-Fviewer

This repository contains project demonstrating usage of technologies involved in complex Ur/Web application development:

  • Ur/Web compiler Ur/Web
  • Git submodules containing Ur/Web libraries including uru3, xmlw and others.
  • File default.nix containing build rules to be evaluated together with urweb-build base expression by the nix-build interpreter

Install

  1. Install Nix package manager
  2. Clone urweb-build base expression, setup the NIX_PATH environment variable
  3. Clone the Fviewer repository with submodules
  4. Run nix-build -A nginx. Symlink named result will be created.
  5. Run ./result/bin/nginx-fviewer and navigate http://127.0.0.1:8000/Fviewer/main to view the start page Note, the sqlite database ./Fviewer.db will be created if not exists.