2004-09-24 09:54:58 -04:00
|
|
|
;;; This file is meant for developing. Use the example startup
|
|
|
|
;;; scripts to start the webserver,
|
|
|
|
;;; e.g. $SCSH_LIB_DIRS/sunet/web-server/start-surflet-server
|
|
|
|
|
|
|
|
;;; Reads package descriptions in the right order. In the end, the
|
|
|
|
;;; server can be started via SERVER. Assumes scsh has been started with
|
|
|
|
;;; SSAX loaded: scsh -lel SSAX/load.scm (otherwise surflets won't work)
|
|
|
|
;;; and it is called with cwd=sunet/scheme/httpd/surflets/
|
2002-09-26 08:13:01 -04:00
|
|
|
|
2002-09-20 15:25:20 -04:00
|
|
|
(batch 'on)
|
2004-09-24 09:54:58 -04:00
|
|
|
(config `(load "../../packages.scm"))
|
|
|
|
(config `(load "packages.scm"))
|
|
|
|
(config `(load "../../../web-server/start-surflet-server"))
|
2002-09-20 15:25:20 -04:00
|
|
|
(user)
|
2003-01-19 11:57:27 -05:00
|
|
|
(open 'surflet-server)
|
2002-09-26 08:13:01 -04:00
|
|
|
(batch 'off)
|
|
|
|
(in 'scsh '(run (display "type (server) to start the server\n")))
|
|
|
|
|