Compare commits

...

2 Commits

Author SHA1 Message Date
Matthias Portzel 18300386cd Add title to Search page
* Fix typo
* Add currently used Xapian version
* Change Xapian version link
2022-04-04 12:12:56 -04:00
Matthias Portzel e7c1d17cab Remove unneeded requirement
* Pygments does syntax highlighting which we're not currently doing
* Adds version numbers for jetforce and python-decouple
2022-04-04 12:11:32 -04:00
4 changed files with 8 additions and 8 deletions

6
README
View File

@ -43,8 +43,9 @@ pip install -r requirements.txt
curl -OL https://tildegit.org/matthias/xapian-haystack/raw/branch/master/install_xapian.sh
# NOTE: make sure the virtual enviroment is enabled before running this
# Check the latest version of xapian from https://github.com/xapian/xapian/tags
sh install_xapain.sh <version>
# Check the latest version of xapian from https://xapian.org
# As of writing, that's 1.4.19
sh install_xapian.sh <version>
./manage.py rebuild_index
@ -59,4 +60,3 @@ EOF
```

View File

@ -1,9 +1,8 @@
Django~=4.0
Django~=4.0.3
python-magic~=0.4.22
Pygments~=2.8.1
python-decouple
python-decouple~=3.6
jetforce
jetforce~=0.9.0
git+https://github.com/django-haystack/django-haystack.git
git+https://tildegit.org/matthias/xapian-haystack.git

View File

@ -1,5 +1,7 @@
{% extends "whispermaphone/page.html" %}
{% block title %}Search{% if query %} "{{ query }}"{% endif %}{% endblock %}
{% block navigation %}
<a class="text" href="/">Thoughts</a>
<a class="text" href="/about">About</a>{% if authenticated %}

View File

@ -121,4 +121,3 @@ STATIC_ROOT = BASE_DIR / "static/"
MEDIA_ROOT = BASE_DIR / "media/"
MEDIA_URL = "/media/"