-
Notifications
You must be signed in to change notification settings - Fork 12
Windows installation
Use a git software,for instance Git for Windows. Click "clone". Fill in Source Path / URL with https://github.com/PeARSearch/PeARS-orchard.git. Enter a destination path, for instance C:\Users\Alice\PeARS-orchard.
Install Python 3 from python.org by downloading the "executable installer" for your version of Windows. Run the installer. The installer's default is not to set the Path variable on installation, so click that option to make sure Path is set.
pip comes with all recent versions of Python so you don't need to install that separately.
do "Command prompt" (e.g., via Cortana) and in this type:
pip3 install virtualenv
pip3 install virtualenvwrapper-win
Then create a new virtualenv for PeARS and activate it:
cd PeARS-orchard
virtualenv env
Note: you may have to give the full path to your Python install here, for instance:
virtualenv -p C:\Python34\python.exe env
Once your virtualenv is created, do:
cd env/Scripts
activate
cd ../..
pip3 install -r requirements.txt
Using File Explorer, navigate to PeARS-orchard/app/static/spaces and extract english.dm from the .zip file. Note that on many systems, the default behaviour is to put the extracted file in a separate directory - if this happens, you'll need to move it so you end up with
PeARS-orchard/app/static/spaces/english.dm
In your Command Prompt window
python run.py
If you get a Windows firewall alert, just close the window without allowing any access to anything.
Go to your browser and enter localhost:8080 in the Search Bar. You should find PeARS running there. You don't have any pages indexed yet, so go to the F.A.Q. page (link at the top of the page) and follow the short instructions to get you going!