A lightweight BBS.
Author: Rei([email protected])
- Ruby 1.9.2
- mongodb 1.8.2+
- redis 2.0+
- Ruby on Rails 3.0.7
Gems Dependencies see Gemfile.
Assume you have installed mongodb and redis.
git clone git://github.com/chloerei/campo.git
cd campo/
bundle install
cp config/campo.example.yml config/campo.yml
cp config/mongoid.example.yml config/mongoid.yml
edit config/campo.yml
edit config/mongoid.yml
Make sure mongodb is running.
rake db:seed
rails s
QUEUE=* rake environment resque:work
This project is low degree of completion, db schema is changing and not well migration support. not suggest used in production environment. But if you want, there are some notes.
rake secret
Copy the output string and set secret_token column in config/campo.yml
edit config/mongoid.yml
Change production params.
cd /path/to/your_source
git pull
Backup mongo data first.
mongodump -o /path/to/your_want_to_dump_mongo
Run migration.
rake db:migrate
http://codecampo.com is the main website running Campo with develop branch.
Feedback in codecampo.com or github issues(https://github.com/chloerei/campo/issues).
Copyright (c) 2011 Rei http://chloerei.com.
Release under MIT-LICENSE