mateuszdw / qaror Goto Github PK
View Code? Open in Web Editor NEWQuestions & Answers platform on Rails - stackoverflow clone
Questions & Answers platform on Rails - stackoverflow clone
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?
somethings change in omniauth openid providers, column open_id missing
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:
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.
Hi Mateusz,
I want to contribute to this project.
Thanks
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:
Any ideas as to why it seems like db:migrate / db:seed aren't creating the expected databases and relationships?
Expose admin backend on first installation
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.