PeARS Pod is for people who want to 'look like a search engine', and wish to set up an online PeARS pod with a fixed URL. An example PeARS pod can be found here. Note that setting up a pod with a URL is not necessary to share your Web knowledge! PeARS also lets you share indexes with your friends via text files and images. This repo is purely for people who would like to setup a permanent online page where visitors can search their pod.
In order to use this repo, you need to have copy of PeARS, version Orchard installed on your computer, which you will specifically use to prepare your pod. If you are using PeARS for your own general purposes at the same time, we advise you to keep two copies of Orchard in two different directories. For instance, you may have one Orchard instance in your home directory for private purposes, and another install in a your-pod-name directory, alongside your PeARS Pod install.
git clone https://github.com/PeARSearch/PeARS-pod.git
virtualenv -p python3 env && source env/bin/activate
pip3 install -r requirements.txt
Head over to the app/static/spaces directory and unzip english.dm.zip.
You should save a csv file containing your pod in the app/static/pods folder. If you don't know yet what a csv pod is, consult the documentation on PeARS Orchard.
In the root of the repo, run:
python3 run.py
Now, go to your browser at localhost:5000. You should see your pod running. Happy searching!
You can setup your pod online on any server that will let you run a Flask application with a database. We provide specific instructions for use with https://www.pythonanywhere.com/. These can be found on the Wiki.