Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

Latest commit

 

History

History
49 lines (31 loc) · 923 Bytes

CONTRIBUTING.md

File metadata and controls

49 lines (31 loc) · 923 Bytes

Steup Instructions

Credential File Locations

File locations for the following files

  • credentials.yaml - should be present in the root directory
  • iff_gsheets_config.json - should be present inside the iff_dashboard folder

You can change the following values in the credentials.yaml file

  • MYSQL_USERNAME
  • MYSQL_PASSWORD
  • MYSQL_DATABASE

Database Setup

Database name is panoptic & the credentials are as per your local system

mysql -u root -p panoptic < sql_dump.sql

NPM Dependencies

Install the node module dependencies inside the static folder

cd static
npm install

Python Requirements

Run the following command from the root folder

pip -r requirements.txt

Run

Run the following command from the root directory on the terminal / cmd

python panoptic_flask.py

Open 127.0.0.1:5000 in the browser