GithubHelp home page GithubHelp logo

ershou's Introduction

Build Status

二手市场

这是一个基于 Rails Engine 开发的二手市场,用于六维空间提供二手市场服务。 相对于 Discuz! 的论坛版面,基于 Rails 的第三方应用可以实现一些论坛版面无法达到的效果。 可以需要自动按照地区对帖子进行分类,自动根据所属地区浏览附近交易信息等。

安装运行

首先请先在本地部署好Rails开放环境,然后把本代码 clone 到本地运行

git clone https://github.com/neubt/ershou.git
cd ershou
bundle install
rake db:migrate:reset
rake db:seed
test/dummy/script/rails s

使用浏览器打开:http://localhost:3000/

项目测试

cd ershou
RAILS_ENV=test rake db:migrate test

贡献代码

  1. Watch 这个项目
  2. 从 github 上 fork neubt/ershou 的项目
  3. 把你的用户下的 ershou 项目 clone 到本地
  4. 将你本地的 ershou 项目增加 neubt 的原始项目地址
  5. 获取最新的 neubt 的代码,并 merge master 分支
  6. 本地新建一个开发分支
  7. 本地开发新功能
  8. 开发完之后,连同分支提交到 github
  9. 在 github 上开一个你提交的 pull-request

Contributing

  1. Watch it
  2. Fork it
  3. Create your feature branch (git checkout -b my-new-feature)
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create new Pull Request

ershou's People

Contributors

ibigbug avatar wuwx 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

Watchers

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

ershou's Issues

为交易帖子回复评论系统显示白页

log:
Template is missing

Missing template ershou/comments/new, ershou/application/new, application/new with {:locale=>[:"zh-CN"], :formats=>[:html], :handlers=>[:erb, :builder, :slim, :coffee]}. Searched in: * "C:/Ruby193/lib/ruby/gems/1.9.1/gems/devise-2.2.4/app/views" * "C:/Ruby193/lib/ruby/gems/1.9.1/bundler/gems/common-431879e3a2d7/app/views" * "C:/Ruby193/lib/ruby/gems/1.9.1/gems/kaminari-bootstrap-0.1.3/app/views" * "C:/Ruby193/lib/ruby/gems/1.9.1/gems/kaminari-0.14.1/app/views" * "D:/github/ershou/app/views"

新增交易帖子界面需要添加字段

新增交易帖子界面需要添加字段,包括但不限于:
交易的结束期限(日历控件,必填)
交易内容类型(下拉框,必填)
交易范围(单选按钮,默认学校)
价格范围(数字输入框,可选)

帖子列表需要能够根据登陆者IP进行筛选

当用户登陆到二手交易平台的时候,需要根据登陆IP选择对应的省市或者学校
然后在帖子列表里面筛选所有在该学校的交易主题帖子并进行展示
若帖子数小于20,则查询对应省市范围内的帖子展示

new comment of topic can not be edited(/topics/1/comments/1/edit) for "Template is missing"

Missing template ershou/comments/edit, ershou/application/edit, application/edit with {:locale=>[:"zh-CN"], :formats=>[:html], :handlers=>[:erb, :builder, :slim, :coffee]}. Searched in: * "/home/thinkpad/.gem/ruby/1.9.1/gems/devise-2.2.4/app/views" * "/home/thinkpad/.gem/ruby/1.9.1/bundler/gems/common-431879e3a2d7/app/views" * "/home/thinkpad/.gem/ruby/1.9.1/gems/kaminari-bootstrap-0.1.3/app/views" * "/home/thinkpad/.gem/ruby/1.9.1/gems/kaminari-0.14.1/app/views" * "/home/thinkpad/workspace/git/ershou/app/views"

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.