- Python3
- Dlib
- Postgressql RDMS
- Pgadmin4 (not mandatory)
Clone this respositor using the command
git clone https://github.com/neerajram30/God-s-Eye.git
Ubuntu:
cat requirements.txt
From the requirements install all the libraries one by one or install all by
pip install -r requirements.txt
Create .env in root directory and configure it to files. Replace the fields with your credentials
DB_HOST = "YOUR HOST NAME"
DB_NAME = "YOUR DB NAME"
DB_USER = "YOUR DB USER NAME"
DB_PASS = "YOUR DB PASSWORD"
APP_SECRET = "APP PASSWORD"
For running this app on development environment you can uncomment this code
if __name__=='__main__':
app.run(debug=True)
For running this app on production environment you can uncomment this code, the CCTV will only open when this option is enabled.
if __name__ == '__main__':
app.run(host='0.0.0.0', port=2204, threaded=True)
For creating database tables run command:
python3 createTables.py
For running this application on both product and development environment you can use this command
python3 app.py