-
Notifications
You must be signed in to change notification settings - Fork 2
/
run.rkt
executable file
·28 lines (24 loc) · 1.08 KB
/
run.rkt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#lang racket
(require "servlets/main.rkt"
web-server/servlet-env)
;(display (list (build-path (current-directory) "static/css")))
;(display (current-directory))
(serve/servlet start
; #:launch-brower? #t
#:command-line? #t
#:stateless? #t
#:port 8080
#:servlet-current-directory (current-directory)
#:extra-files-paths (list
;(build-path "~/studio/topic-visor/vis-repo")
(build-path (current-directory) "static")
(build-path "~/studio/topic-visor/static")
(build-path "~/studio/topic-visor/vis-repo")
;(build-path (current-directory) "static/css")
)
;#:extra-files-paths (list (build-path "~/studio/topic-visor/static"))
#:servlet-regexp #rx""
)
; no static-files-path in servlet-env
; the static file path
;(static-files-path "static")