This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.10 as python-base | |
# https://python-poetry.org/docs#ci-recommendations | |
ENV POETRY_VERSION=1.2.0 | |
ENV POETRY_HOME=/opt/poetry | |
ENV POETRY_VENV=/opt/poetry-venv | |
# Tell Poetry where to place its cache and virtual environment | |
ENV POETRY_CACHE_DIR=/opt/.cache |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Solr Install ### | |
Install pysolr and django-haystack and set up django-haystack. Setup for haystack is pretty straight forward: | |
https://django-haystack.readthedocs.org/en/v1.2.7/tutorial.html | |
Make sure you follow the haystack instructions for the correct version of haystack that you installed, | |
as some of the setting variables are different depending on the version. | |
# SSH into the server that you want to install Solr on |