a website game origin from bbs
Pull request Compare This branch is 29 commits ahead, 35 commits behind saberma:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
features
lib
public
script
spec
vendor
.gitignore
.gitmodules
.livereload
.rspec
Gemfile
Gemfile.lock
README.textile
Rakefile
config.ru
index.js
server.js

README.textile

Rewrite version. Base on juggernaut.

Install

Node.js

cd ~/Downloads
wget http://nodejs.org/dist/node-v0.2.4.tar.gz
tar -xzvf node-v0.2.4.tar.gz
cd node-v0.2.4
./configure
make
sudo make install

Redis

wget https://github.com/antirez/redis/tarball/2.2.0-rc2
tar -xzvf antirez-redis-2.2.0-rc2-0-g0540df2.tar.gz
cd antirez-redis-b703b5d
make
sudo make install

55true

cd ~/Documents
git clone git://github.com/saberma/55true.git --recursive
cd 55true

Usage

启动应用

cd ~/Documents/55true
redis-server &
QUEUE=* rake resque:work &
node server.js &
bundle exec unicorn -p 8000 &

调试resque后台任务

resque-web

open http://localhost:8080