diff options
author | bnewbold <bnewbold@robocracy.org> | 2011-06-24 17:21:45 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2011-06-24 17:21:45 -0400 |
commit | 421dc8c7141ecb6297996f7370d96e7e99894683 (patch) | |
tree | 50b8bcf931c4dc204f74b8721de9244ab4977056 /how-to-run-news | |
download | slackernews-421dc8c7141ecb6297996f7370d96e7e99894683.tar.gz slackernews-421dc8c7141ecb6297996f7370d96e7e99894683.zip |
arc3.1.tar
Diffstat (limited to 'how-to-run-news')
-rw-r--r-- | how-to-run-news | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/how-to-run-news b/how-to-run-news new file mode 100644 index 0000000..dae9db7 --- /dev/null +++ b/how-to-run-news @@ -0,0 +1,44 @@ +To run News: + +tar xvf arc3.1.tar + +cd arc3.1 + +mkdir arc + +echo "myname" > arc/admins + +mzscheme -f as.scm + +at the arc prompt: + +(load "news.arc") + +(nsv) + +go to http://localhost:8080 + +click on login, and create an account called myname + +you should now be logged in as an admin + +manually give at least 10 karma to your initial set of users + +don't worry about "user break" messages when restarting News + + + +To customize News: + +change the variables at the top of news.arc + + + +To improve performance: + +(= static-max-age* 7200) ; browsers can cache static files for 7200 sec + +(declare 'direct-calls t) ; you promise not to redefine fns as tables + +(declare 'explicit-flush t) ; you take responsibility for flushing output + ; (all existing news code already does) |