Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.13 KB

README.md

File metadata and controls

43 lines (34 loc) · 1.13 KB

VIRE: Visual Information Retrieval Evaluation

Set up instructions:

ssh -i ~/Downloads/DNS.pem [email protected]

Install Packages

sudo apt-get update
sudo apt-get install python3-pip
sudo apt-get install python3-venv
sudo apt-get install postgresql-server-dev-10 For mac:
brew install redis
git clone https://github.com/zhanif3/818_search.git

First, install the needed python environnment

cd 818_search
python3 -m venv env

Run the virtual environment

source env/bin/activate

Install needed python packages

(env)$ pip install flask
(env)$ pip install psycopg2

Set up the database (DO NOT DO THIS ON AWS SERVER)

sudo -u postgres createuser --interactive
&nbsp&nbsp&nbsp 818project, y
sudo -u postgres createdb sammy
sudo adduser sammy
sudo -i -u sammy
psql

What DB am I connected to?

\conninfo

Run instructions

redis-server
python server.py

Visit URLs on browser:
Upload csv files of the format [query ID],[score_name],[score] here: http://localhost:5000/upload
For main visualizations: http://localhost:5000/