Coder Social home page Coder Social logo

campo's Introduction

Campo

Campo is a lightweight forum application, base on Ruby on Rails.

This project is inactive, if you want a full-featured forum, I recommend Discourse.

Build Status

Build with

  • Ruby 2.1 and Rails 4.1.1
  • Postgresql 9.1+ for databsae
  • elasticsearch 1.0+ for full text searching
  • Redis for backgound jobs
  • memcached for cache
  • postfix or other email service(through SMTP) for sending system email

The best deploy environment is Ubuntu 14.04 LTS, require at least 1G memory.

You don't need to install all denpendency manual, an auto-install scirpt will be show below.

How to development or deployment

Read document here: https://github.com/chloerei/campo/wiki

Donate

Buy me some Instant noodles:

http://chloerei.com/donate/

License

MIT License.

campo's People

Contributors

chloerei avatar horx avatar juanitofatas avatar quake avatar tengcong avatar tonytonyjan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

campo's Issues

大神好,新手安装出问题了。。gem bcrypt -v '3.1.7' 安装出错

使用环境 win7 + vagrant( UBUNTU12.04)
根据文档 执行了 ./script/setup_dev.sh
错误信息如下
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

/home/vagrant/.rvm/rubies/ruby-2.1.5/bin/ruby -r ./siteconf20150125-3264-76c1me.rb extconf.rb

checking for ruby/util.h... yes
creating Makefile

Text file busy @ unlink_internal - ./siteconf20150125-3264-76c1me.rb

Gem files will remain installed in /vagrant/campo-master/.bundle/ruby/2.1.0/gems/bcrypt-3.1.7 for inspection.
Results logged to /vagrant/campo-master/.bundle/ruby/2.1.0/extensions/x86-linux/2.1.0/bcrypt-3.1.7/gem_make.out
An error occurred while installing bcrypt (3.1.7), and Bundler cannot continue.
Make sure that gem install bcrypt -v '3.1.7' succeeds before bundling.

gem install bcrypt -v '3.1.7' 单独执行过 安装成功
sudo gem install bcrypt -v '3.1.7' 也执行过 也显示成功

再执行 脚本 仍然报错。。

注册后不发送邮件的问题

在注册用户后有时不发送邮件

我仔细看了 campo 代码, 没有看到 User.save 时调用 UserMailer.confirmation(current_user.id).deliver 是不是我看漏了, 弄错了?

如果不是的话, @rei 帮我确认一下, 我 fix 一下.

cdn 支持

assets
发布脚本
图像处理
文件上传
这些考虑支持cdn吗

addon features

a) i think campo should have follow/un-follow user feature to track favorite user activity.
b) E-mail confirmation feature to track fake users. also can be used for sending mails when some1 comments or likes post.
** Noification or settings page ( user can control what he want in his mails )
-> I don't want new posts by email.
-> I want one email every day.
-> Someone starts following me.

vagrant上面运行rake --trace db:schema:load报错

vagrant上面运行rake --trace db:schema:load报错

vagrant@precise64:/vagrant$ rake --trace db:schema:load
rake aborted!
no such file to load -- bundler/setup
/vagrant/config/boot.rb:4:in `require'
/vagrant/config/boot.rb:4
/vagrant/config/application.rb:1:in `require'
/vagrant/config/application.rb:1
/vagrant/Rakefile:4:in `require'
/vagrant/Rakefile:4
/usr/lib/ruby/vendor_ruby/rake/rake_module.rb:25:in `load'
/usr/lib/ruby/vendor_ruby/rake/rake_module.rb:25:in `load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/application.rb:501:in `raw_load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/application.rb:82:in `load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/application.rb:133:in `standard_exception_handling'
/usr/lib/ruby/vendor_ruby/rake/application.rb:81:in `load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/application.rb:65:in `run'
/usr/lib/ruby/vendor_ruby/rake/application.rb:133:in `standard_exception_handling'
/usr/lib/ruby/vendor_ruby/rake/application.rb:63:in `run'
/usr/bin/rake:27

将 markdown 编辑器换成 simditor ,jquery.validate 没办法验证输入框

将 markdown 编辑器换成 simditor ,jquery.validate 可以检测 comment[body] 不为空,并且能正确给出 不能为空字符 的提示,可当我在输入框中继续输入内容后,错误消息没有正确消失,在 mrakdown 编辑器中没有出现这个问题
看了 jquery.validate 源码,小弟太挫,看不懂原理
validator.js.coffee 文件里打 console.log 输出,貌似是 unhighlight 没有执行。

  highlight: (element) ->
    console.log "highlight puts"
    $(element).closest(".form-group").addClass "has-error"

  unhighlight: (element) ->
    console.log "unhighlight puts"
    $(element).closest(".form-group").removeClass "has-error"

在源码里也找不到哪里在运行了这段逻辑,请大家帮忙看一下。我 fork 的项目地址
https://github.com/tiseheaini/campo rm-markdown 分支

`http_accept_language` Error

On controller/application_controller.rb you have

def set_locale I18n.locale = current_user.try(:locale) || http_accept_language.compatible_language_from(I18n.available_locales) || I18n.default_locale end

that throws undefined http_accept_language.compatible_language_from error. I had to add gem 'http_accept_language' on my gemfile to make it work.

server configs

Nice work man.... i really like your work, can you tell me wats the configuration of the current system running i mean to say server configs...

its working quite fast actually... loving it

Typo

Gemfile: Paignator should be Paginator

太简单,就不PR了。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.