ssh -i ~/Downloads/DNS.pem [email protected]
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
cd 818_search
python3 -m venv env
source env/bin/activate
(env)$ pip install flask
(env)$ pip install psycopg2
sudo -u postgres createuser --interactive
    818project, y
sudo -u postgres createdb sammy
sudo adduser sammy
sudo -i -u sammy
psql
\conninfo
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/