欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Reddit Code
来自开放百科 - 灰狐
Reddit is open.
获得代码
git clone http://code.reddit.com/repo/reddit.git
安装
cd reddit/r2 sudo python setup.py develop
安装数据库
su postgres or sudo -u postgres createdb -E utf8 reddit createdb -E utf8 changes createdb -E utf8 email psql reddit < ../sql/functions.sql postgres$ paster shell example.ini >>>from r2.models import populatedb >>>populatedb.populate()
postgres$ createuser reddit postgres$ dropuser reddit postgres$ createuser -P reddit
运行
me$ memcached me$ paster serve --reload example.ini port=8080 http://127.0.0.1:8080/ ok :) 跑起来了 若图形验证不能工作 me$ sudo aptitude install python-imaging
more detail: http://code.reddit.com/wiki/RedditStartToFinish
目录 |
Debian
Nginx
Lighttpd
INI
http://code.reddit.com/wiki/INISettings
Style Guide
CSS: reddit/rs/rs/templates/reddit.css
Footer: reddit/rs/rs/templates/redditfooter.html
Header Logo: reddit/r2/r2/models/subreddit.py - Line 345
相关项目
Links
分享您的观点