Skip to content
This repository
branch: master
Octocat-spinner-32 app don't use new hash. March 14, 2013
Octocat-spinner-32 config update rails June 05, 2013
Octocat-spinner-32 db init Site and Fragment model. March 13, 2012
Octocat-spinner-32 doc init commit. September 17, 2011
Octocat-spinner-32 lib init commit. September 17, 2011
Octocat-spinner-32 log init commit. September 17, 2011
Octocat-spinner-32 public fix style, add favicon. December 04, 2011
Octocat-spinner-32 script fix tags migration. November 01, 2011
Octocat-spinner-32 test fix current_password valid bug. November 25, 2012
Octocat-spinner-32 vendor init commit. September 17, 2011
Octocat-spinner-32 .gitignore Add google custom search December 02, 2011
Octocat-spinner-32 Capfile add capistrano config. November 06, 2011
Octocat-spinner-32 Gemfile update rails to 3.2.16 December 04, 2013
Octocat-spinner-32 Gemfile.lock update rails to 3.2.16 December 04, 2013
Octocat-spinner-32 README.md Update README.md March 06, 2014
Octocat-spinner-32 Rakefile init commit. September 17, 2011
Octocat-spinner-32 config.ru init commit. September 17, 2011
README.md

Goto -> https://github.com/chloerei/campo

CodeCampo

It's the source of http://codecampo.com , a light weight bbs for developer.

Dependency

  • ruby 1.9.3
  • rails 3.2.3
  • mongodb 1.8+
  • nodejs (option for linux)

Setup

git clone git://github.com/chloerei/code_campo.git
cd code_campo
bundle install
cp config/app_config.example.yml config/app_config.yml
cp config/mongoid.example.yml config/mongoid.yml
rake db:seed
rails s

Config admin

In config/app_config.yml, replace admin_emails, for example:

admin_emails:
  - "youremail@yourdomain.com"
  - "anotheradmin@yourdomain.com"

Restart application, then the user use this email will be admin.

More deploy step

Notice there is a whenever config, your can run whenever --update-crontab to update crontab config or use capistrano, see config/deploy.rb for more info.

Something went wrong with that request. Please try again.