简体   繁体   English

本地的干草堆和Solr

[英]haystack and Solr locally

I have a Django site that using haystack and Solr. 我有一个使用haystack和Solr的Django网站。 In the live environment (Ubuntu) this is fine. 在现场环境(Ubuntu)中,这很好。

However I want to do some testing locally on my mac. 但是我想在Mac上本地进行一些测试。 What are the recommendations for running Solr on the Mac for testing within the context of Python. 在Mac上运行Solr以在Python上下文中进行测试的建议是什么? Is there something like virtualenv for this? 是否有类似virtualenv的东西?

I've been using Whoosh with Django/Haystack locally. 我一直在使用本地和Django /草垛。 It is easy to use and requires no dedicated server. 它易于使用,不需要专用服务器。

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

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