Fork the project in github so that you have your own version.
Then do:
$ git clone https://github.com/$MY_GITHUB_USERNAME/rstat.us.git
$ cd rstat.us
Then update your gemset:$ gem install bundler && bundle install
The config.yml file will be automatically copied/generated for you when you
start the server and it does not exist. In dev mode the SECRET_TOKEN will be
generated for you and your config.yml file updated. When you run tests a new
random SECRET_TOKEN will be generated each time. You can always copy
config/config.yml.sample to config/config.yml and edit it on your own beforehand.- encoding is UTF-8 by default for ruby 1.9.3
- Notes about config settings are in the example file (config/config.yml.example)
$ rails server
Bam! Visit http://localhost:3000/ in your browser, and you'll be good.from https://github.com/hotsh/rstat.us
git clone https://github.com/hotsh/rstat.us rstat.us-site
cd rstat.us-site
gem install bundler
nano Gemfile
(把ruby的版本由1.9.3改为2.0.0,因为我系统中的ruby的版本为2.0.0)
bundle install
nohup rails server -p 56742 > /dev/null &
访问http://as3.brite.biz:56742/即可看到网站效果。
官方演示站点:https://rstat.us/
项目地址: https://github.com/hotsh/rstat.us