#!/usr/bin/wapptclsh # # This script implements a release-checklist web application. Installation # steps: # # (1) Put the wapptclsh framework binary in /usr/bin (or equivalent) # (2) Create a directory to store checklist databases. Edit this # script to store the database directory in DATADIR # (3) Install at least one template database. Perhaps use one of the # testing databases found in the source code repository for this # script. The details of the checklist, logins and passwords, and # so forth can be edited after the application is running. # (4) Activate the server by one of the following techniques: # (4a) Run "wapptclsh checklist.tcl" for a pop-up instance on the # local machine. # (4b) Run "wapptclsh checklist.tcl --server 8080" for an HTTP server. # (4c) Make this script a CGI script according to however CGI works # on your web server # (4d) Run "wapptclsh checklist.tcl --scgi 9000" to start an SCGI # server, then configure Nginx to relay requests to TCP port 9000. # # Update 2019-07-26: # The script has been revised to run as a Fossil extension. It now uses # Fossil for login and user credentials. Anyone with check-in privilege # can edit. Anyone with Setup privilege can be a checklist admin. # set DATADIR /checklist ;# Edit to be the directory holding checklist databases package require wapp # Any unknown URL dispatches to this routine. List all available # checklists. # proc wapp-default {} { wapp-page-listing } # List all available checklists. # proc wapp-page-listing {} { global DATADIR wapp-trim {