import os

class Config(object):
	DEBUG = False
	TESTING = False
	
	
	
class ProductionConfig(Config):
	DEBUG = True
	#DATABASE_URI = 'mysql://user@localhost/foo'
	MYSQL_DATABASE_HOST = 'localhost'
	MYSQL_DATABASE_PORT = 3306
	
	
	

class DevelopmentConfig(Config):
	APPLICATION_DIR = os.path.dirname(os.path.realpath(__file__))
	DEBUG = True
	SECRET_KEY = 'this is my secret key'
	SQLALCHEMY_DATABASE_URI = 'sqlite:///%s/canteen_sys.db' % APPLICATION_DIR
	UPLOAD_FOLDER = os.getcwd()+'/application/static/images'
	#SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:''@localhost:3306/announcement_hub'
	
class TestingConfig(Config):
	TESTING = True