Initial Code

This commit is contained in:
c0de 2022-09-23 17:40:31 -05:00
parent f96618d2d1
commit 20ca7befdf
9 changed files with 629 additions and 629 deletions

View File

@ -2,11 +2,11 @@
from sqlalchemy import create_engine from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker from sqlalchemy.orm import sessionmaker
DATABASE_USERNAME = 'database_username' DATABASE_USERNAME = 'ghost_user'
DATABASE_PASSWORD = 'database_password' DATABASE_PASSWORD = 'root'
DATABASE_HOST = 'database_host' DATABASE_HOST = '192.168.0.11'
DATABASE_PORT = 'database_port' DATABASE_PORT = '5432'
DATABASE_NAME = 'database_name' DATABASE_NAME = 'ghostball'
SEASON_1_SPREADSHEET_ID = 's1_spreadsheet_id' SEASON_1_SPREADSHEET_ID = 's1_spreadsheet_id'
SEASON_2_SPREADSHEET_ID = 's2_spreadsheet_id' SEASON_2_SPREADSHEET_ID = 's2_spreadsheet_id'
PLAYER_SPREADSHEET = 'player_spreadsheet' PLAYER_SPREADSHEET = 'player_spreadsheet'

View File

@ -3,7 +3,7 @@ from sqlalchemy.orm import sessionmaker
import sys import sys
import sqlite3 import sqlite3
sys.path.append('../../../../../src') sys.path.append('../../../../../../src')
from src.main.configs import Configs, DATABASE_USERNAME, DATABASE_PASSWORD, DATABASE_HOST, DATABASE_NAME from src.main.configs import Configs, DATABASE_USERNAME, DATABASE_PASSWORD, DATABASE_HOST, DATABASE_NAME