-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Documentation] Run your own without docker #449
Comments
I'm running docsearch without Docker. I have a script which runs once a day and updates data in the exact format Docker instance would. There are only 3 attributes each object needs to be compatible with docsearch
|
👋 PierreR, Thank you for sharing your concerns. We will try to document the development workflow in a better way. We highly recommend you to use the |
Hello, It should be possible to run DocSearch without Docker, providing you have the correct python version installed as well as all the needed dependencies (that's actually how I run it). Considering that dealing with python dependencies can be a hassle, we also provides a Docker version (and because it makes it easier for us to deploy), but you don't have to use it. We recommend that you do though, as it makes things easier to debug for us when issues arise :) Running Let us know if it doesn't work |
@s-pace That is what I ended up doing. My biggest confusion has been that you can't run the
In retrospect, this is rather obvious but it is a source of confusion when you are using a system such as nixos where you learn to be quite explicit about your dependencies. |
@pixelastic Thanks for the info. As you said,, python dependencies can be quite tricky. Particularly in this case because the requirement.txt file involves a lot of circular dependencies when you try to convert it into a |
Yes, this is an issue we didn't realized until recently. We will try to make the Docker usage completely stand-alone in the future.
For the record, we are also getting quite frustrated with the setup and are in the process of moving the dependency handling to pipenv. No ETA for that though, but we'll keep you updated and make sure the documentation is updated as well. |
The installation section of the 'Run Your Own" implies that it is possible to run
docsearch
without using docker.There is nothing that seems to describe how to do so. The only way seems to look at the source of the docker files and write a script to mimic parts of it.
Is that correct ? Could the documentation be improved to make it more explicit ?
Thanks.
The text was updated successfully, but these errors were encountered: