integrating a discourse message board with an existing rails site

北战南征 提交于 2019-12-18 14:17:21

问题


I'm looking at integrating a message board for a site I'm developing in rails. The new discourse board looks interesting http://www.discourse.org/ but there isn't much information about integrating into another site either via oauth2 or sso or perhaps using a rails engine type system. Has anyone succesfully set this up with an app like this?

thx

edit t
Is there a roadmap for how this integration could take place in the future? Parts of it look really intriguing but would like some more info on how this use case could be handled.

edit 2
Since this question is getting a fair amout of traffic, I want to add this post http://meta.discourse.org/t/integrating-discourse-with-current-user-database/6669 which goes over the SSO attempts going on at discourse currently. I have also been in contact with the people at thougtbot about their implementation.


回答1:


I was interested in the same issue but here's what I found on Github issues:

The easiest way to get it running would be to install Discourse outside of your app. We do offer the full source code if you want to integrate with your existing login system, but I imagine it would be a fair amount of work at this point.

Right now we haven't focused much on production deployments since we're pre-beta and want to make sure people have a super easy upgrade system in place to stay on top of security holes.




回答2:


Not done any app with Discourse, but if their site does not provide a lot of info did you browse the Git Repository https://github.com/discourse/discourse it provides plenty of information and resources links like these ones :

  1. Discourse Developer Install Guide (Vagrant) : https://github.com/discourse/discourse/blob/master/docs/VAGRANT.md

  2. Developer Advanced : https://github.com/discourse/discourse/blob/master/docs/DEVELOPER-ADVANCED.md

  3. Admin quick Start : https://github.com/discourse/discourse/wiki/The-Discourse-Admin-Quick-Start-Guide

Hope it can be of some help for you

Cheers



来源:https://stackoverflow.com/questions/15393808/integrating-a-discourse-message-board-with-an-existing-rails-site

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!