Giter Club home page Giter Club logo

qaror's People

Contributors

mateuszdw 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

qaror's Issues

I want to help

Hi Mateusz,

I want to contribute to this project.

Thanks

Something seems to be wrong with db:migrate / db:seed

I followed the instructions in the README, but I'm getting the following error when I try to hit http://localhost:3000/.

$ rails server
=> Booting Thin
=> Rails 3.2.17 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
DEPRECATION WARNING: Core extensions are deprecated and will be removed in Squeel 2.0. (called from /qaror/config/initializers/squeel.rb:12:in `block in <top (required)>')
Thin web server (v1.6.2 codename Doc Brown)
Maximum connections set to 1024
Listening on 0.0.0.0:3000, CTRL+C to stop


Started GET "/" for 127.0.0.1 at 2014-10-28 17:09:43 -0500
Processing by ThrsController#index as HTML
   (0.2ms)  SHOW max_identifier_length
PG::UndefinedTable: ERROR:  relation "thrs" does not exist
LINE 5:              WHERE a.attrelid = '"thrs"'::regclass
                                        ^
:             SELECT a.attname, format_type(a.atttypid, a.atttypmod),
                     pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
              FROM pg_attribute a LEFT JOIN pg_attrdef d
                ON a.attrelid = d.adrelid AND a.attnum = d.adnum
             WHERE a.attrelid = '"thrs"'::regclass
               AND a.attnum > 0 AND NOT a.attisdropped
             ORDER BY a.attnum

Completed 500 Internal Server Error in 20.0ms

ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR:  relation "thrs" does not exist
LINE 5:              WHERE a.attrelid = '"thrs"'::regclass
                                        ^
:             SELECT a.attname, format_type(a.atttypid, a.atttypmod),
                     pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
              FROM pg_attribute a LEFT JOIN pg_attrdef d
                ON a.attrelid = d.adrelid AND a.attnum = d.adnum
             WHERE a.attrelid = '"thrs"'::regclass
               AND a.attnum > 0 AND NOT a.attisdropped
             ORDER BY a.attnum
):
  app/controllers/thrs_controller.rb:10:in `block (2 levels) in index'
  app/controllers/thrs_controller.rb:8:in `index'
  config/initializers/quiet_assets.rb:7:in `call_with_quiet_assets'


  Rendered ~/.rvm/gems/ruby-2.0.0-p576/gems/actionpack-3.2.17/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
  Rendered ~/.rvm/gems/ruby-2.0.0-p576/gems/actionpack-3.2.17/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
  Rendered ~/.rvm/gems/ruby-2.0.0-p576/gems/actionpack-3.2.17/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.0ms)

I'm using the following:

  • Mac OS 10.9.5
  • Rails 3.2.17
  • ruby 2.0.0p576 (2014-09-19 revision 47628) [x86_64-darwin13.4.0]
  • Postgres 9.3.5.2

Any ideas as to why it seems like db:migrate / db:seed aren't creating the expected databases and relationships?

Not Responsive

Great application Mateus. I've cloned it and customised it to my likings.

When I manually adjust the browser, it appears to be responsive. However, when I view it on a mobile device, it shows the ordinary desktop version.

I thought maybe it had to do with the viewport not being set. So I included the following meta tag:

However, it did not work and it didn't satisfy Google's "Mobile-Friendly" Test.
http://www.google.com/webmasters/tools/mobile-friendly/?url=qaror.herokuapp.com

Is it an issue with the Rails version or some of the gems?

Rebuild qaror on top of Discourse?

Please excuse my audacity, but have you considered rebuilding qaror on top of Discourse? (Built by people who used to work at StackOverflow).

It's primarily a discussion platform, but it can be extended to support other use cases.

https://meta.discourse.org/t/case-study-for-archetypes-questions-archetype/14527

Most of the necessary features are already there:

  • User management
  • Notifications
  • Badges
  • Trust levels
  • E-mail done right
  • Markdown
  • Wiki posts
  • Tags
  • Accepted answer
  • The list goes on...

A plugin that enabled SO-like features in Discourse would be a big deal. Check out the Beginner’s Guide to Creating Discourse Plugins if you're interested ;)


Edit: There's a "Question and Answer" plugin for Discourse now.

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.