# -*- coding: utf-8 -*-
"""
ObviForums CONFIGURATION FILE
-- Copy this file to obvi_config.py, remove this line, and below, change the values to match your environment. ---
Author: <NAME>
License: MIT
"""

# The I.P. address upon which the Flask application runs. 0.0.0.0 will listen on all public IP addresses.
application_host = '127.0.0.1'

# Set to true to run the Flask application in debug mode. DO NOT USE DEBUG MODE IN PRODUCTION!
debug_mode = False


# DATABASE CONFIGURATION

# The domain or I.P. address that your MySQL instance is running on.
mysql_host = '127.0.0.1' 

# Give ObviForums its own database to avoid conflicts with other applications.
mysql_database = ''

# Create a non-root user for ObviForums.
mysql_username = ''

# Use a strong password.
mysql_password = ''


# This string mixes in with the user-supplied password to make reverse hashing more difficult. Choose something random.
user_password_salt = ''


# Theme used to render forum views. Default is 'obvi'.
theme = 'obvi'

# Welcome text displays on the homepage. You can customize this to be whatever you want.
welcome_text = """
Welcome to ObviForum, a simple Web forum solution. 
"""


# FOR SQLAlchemy
sqlalchemy_track_modifications = False


# FOR WTForms
csrf_enabled = True

# Make this something truly random. This will protect against malicious posts doing harm to your users.
secret_key = ''

