简体   繁体   English

如何在现有的rails应用程序中使用'Typo'gem,现在它作为单独的博客引擎运行?

[英]How to make use 'Typo' gem in an existing rails application, now it runs as separate blog engine?

I am often pointed to the source of typo blog engine ie, http://typosphere.org/stable.tar.gz But, if I download and perform the following: bundle install etc. it runs as a separate engine. 我经常指向错字博客引擎的来源,即http://typosphere.org/stable.tar.gz但是,如果我下载并执行以下操作:捆绑安装等,它作为单独的引擎运行。

I tried installing typo as a gem, I tried the following: 我尝试将拼写错误作为宝石安装,我尝试了以下方法:

gem install typo

typo install /some/path this fails, saying 'Typo command not found'

How to integrate typo blog engine with existing app, any pointers would be welcome. 如何将拼写错误的博客引擎与现有应用程序集成,欢迎使用任何指针。

Typo is a Rails project. Typo是一个Rails项目。 I am happy to say that I contributed to it at one point of time. 我很高兴地说,我在一个时间点做出了贡献。
You asked in comments, that you wish to use database of Typo in your main application. 您在评论中询问,您希望在主应用程序中使用Typo数据库。 For that, I'll suggest you to check out connection_ninja . 为此,我建议你查看connection_ninja

However, there are many gotchas with these type of configurations. 但是,这些配置有很多问题。

Good luck. 祝好运。
PS: Just noticed that this question was asked long ago. PS:刚刚注意到这个问题很久以前就被问过了。 Ouch! 哎哟!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM