简体   繁体   English

使用MongoDB和Jongo播放框架

[英]Play Framework with MongoDB and Jongo

How do I set up a Play project to use MongoDB with Jongo? 如何设置Play项目以将MongoDB与Jongo一起使用?

So far I have installed MongoDB but I don't know how to add it to my Play project, I don't think the documentation tells you how. 到目前为止,我已经安装了MongoDB,但是我不知道如何将其添加到我的Play项目中,我不认为文档会告诉您如何。

http://www.playframework.com/modules/mongo-1.1/home http://www.playframework.com/modules/mongo-1.1/home

I also can't follow the Jongo documentation. 我也不能遵循Jongo文档。 All it says is "choose a driver's version, finally download Jongo and you're all set". 它说的就是“选择驱动程序的版本,最后下载Jongo,一切就绪”。

http://jongo.org http://jongo.org

How and where do I choose a driver's version, what do I put in the config file and what are the steps taken to install Jongo? 如何以及在何处选择驱动程序的版本,如何在配置文件中放置什么,以及安装Jongo的步骤是什么?

看看Benoit在这件事上的突飞猛进,我想这会有所帮助。

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

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