PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/how-to-run-news

http://github.com/alimoeeny/arc
#! | 44 lines | 21 code | 23 blank | 0 comment | 0 complexity | 4d25e6b717e38abd211e8e20ec08dda8 MD5 | raw file
 1To run News:
 2
 3tar xvf arc3.1.tar
 4
 5cd arc3.1
 6
 7mkdir arc
 8
 9echo "myname" > arc/admins
10
11mzscheme -f as.scm
12
13at the arc prompt:
14
15(load "news.arc")
16
17(nsv)
18
19go to http://localhost:8080
20
21click on login, and create an account called myname
22
23you should now be logged in as an admin
24
25manually give at least 10 karma to your initial set of users
26
27don't worry about "user break" messages when restarting News
28
29
30
31To customize News:
32
33change the variables at the top of news.arc
34
35
36
37To improve performance:
38
39(= static-max-age* 7200)    ; browsers can cache static files for 7200 sec
40
41(declare 'direct-calls t)   ; you promise not to redefine fns as tables
42
43(declare 'explicit-flush t) ; you take responsibility for flushing output
44                            ; (all existing news code already does)