Installation Guide - ZahirJohnson00/NJ-SRHub-Visual-Search-Module GitHub Wiki
Note: Before continuing, make sure you have the system requirements
See wiki system requirements before installing
Setup Postgres Database Preferably do this outside the repository.
$ createdb <dbname>
$ sudo -u postgresql
$ alter role <username> superuser
$ psql <dbname>
$ \i path/to/repo/cab-srhub-group-10/code/postgres/DB_setup.sql
If you don't have pipenv
in the pip
$ pip install pipenv
Then
$ cd code/site/
Enter the virtual environment
$ pipenv shell
$ pipenv install
Access the website
$ cd Flask
Run the Flask script
$ python app.py
Open Google Chrome and access the prototype via localhost. After running the flask app, you can see your locahost address