No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
fb-sdk
static
.gitignore
README.md
ac.scm
app.arc
arc.arc
as.scm
brackets.scm
copyright
forum.arc
html.arc
libs.arc
passlib-shim.py
pprint.arc
run.sh
srv.arc
strings.arc

README.md

To obtain a running instance

./run.sh -> http://localhost:8080/

for the autogenerated test db, log in as admin with password password

Dependencies

  • mzscheme/racket 5.3.6 or 6.1.1 or so
  • passlib
  • pandoc 1.12.2.1 or 1.13.2 or so
  • node 0.12

osx:

# git already installed
# manual download from http://racket-lang.org/
easy_install passlib
brew install pandoc
brew install node

digitalocean ubuntu droplet:

apt-get install git
apt-get install racket
apt-get install python-setuptools; easy_install passlib
apt-get install pandoc
# node already installed

What files are

part of arc

  • ac.scm
  • arc.arc
  • as.scm: ./as.scm gives an arc repl but is otherwise unused (& modified a tiny bit)
  • brackets.scm
  • copyright
  • libs.arc: modified a tiny bit
  • pprint.arc
  • strings.arc

part of arc but modified by us

  • html.arc
  • srv.arc
  • app.arc (heavily modified)
  • forum.arc (heavily modified)

other files are new entirely.

db format

  • arc/admins: whitespace-separated list of admin usernames
  • arc/fb_auth.json: {"id": "...", "secret": "..."}
  • arc/topstories: dead @ 2015-04-01 - remove it if you see it

Misc

production: su forum; cd ~/research-forum; ./run.shhttps://agentfoundations.org/

(This site was developed using Arc, a lisp dialect writtend by Paul Graham, upon which Hacker News was built.)