[Closed] Source code of http://codecampo.com
Ruby CSS JavaScript CoffeeScript
Latest commit d6a5446 Mar 6, 2014 1 @chloerei Update README.md
Failed to load latest commit information.
app don't use new hash. Mar 14, 2013
config update rails Jun 5, 2013
db init Site and Fragment model. Mar 13, 2012
doc init commit. Sep 17, 2011
lib init commit. Sep 17, 2011
log init commit. Sep 17, 2011
public fix style, add favicon. Dec 3, 2011
script fix tags migration. Oct 31, 2011
test fix current_password valid bug. Nov 25, 2012
vendor init commit. Sep 17, 2011
.gitignore Add google custom search Dec 1, 2011
Capfile add capistrano config. Nov 5, 2011
Gemfile update rails to 3.2.16 Dec 4, 2013
Gemfile.lock update rails to 3.2.16 Dec 4, 2013
README.md Update README.md Mar 6, 2014
Rakefile init commit. Sep 17, 2011
config.ru init commit. Sep 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.