Python Version : 3.9.0
- Open terminal
Ctrl + Alt +t
- Run Command
sudo ./env.sh
Set Configuration with .env file
# Database URL
DATABASE_URI = "postgresql://postgres:iwantbefree@localhost/db_products"
DB_USER = "postgres"
DB_PASSWORD = "postgres"
DB_IP = "localhost"
DB_NAME = "db_products"
DB_PORT = "5432"
# ROOT PATH FOR VIDEO & THUMBNAILs
ROOT_PATH = "/share"
# DIR PATH FOR STOR OF RANDOM IMAGES
RAMDOM_IMAGES = "/share/random"
python main.py