Add dynamic features: database models, authentication, and admin dashboard
This commit is contained in:
35
.env.example
35
.env.example
@@ -1,4 +1,33 @@
|
||||
APP_HOST=127.0.0.1
|
||||
# Flask/Quart Configuration
|
||||
DEBUG=False
|
||||
SECRET_KEY=your-super-secret-key-here-change-this
|
||||
|
||||
# Server Configuration
|
||||
APP_HOST=0.0.0.0
|
||||
APP_PORT=5000
|
||||
DEBUG=True
|
||||
SECRET_KEY=yoursecretkey
|
||||
|
||||
# MySQL Database Configuration
|
||||
DB_HOST=localhost
|
||||
DB_PORT=3306
|
||||
DB_USER=hersel_user
|
||||
DB_PASSWORD=your_secure_password_here
|
||||
DB_NAME=hersel_portfolio
|
||||
|
||||
# Upload Configuration
|
||||
UPLOAD_FOLDER=static/uploads
|
||||
MAX_CONTENT_LENGTH=16777216
|
||||
|
||||
# Email Configuration (optional)
|
||||
MAIL_SERVER=smtp.gmail.com
|
||||
MAIL_PORT=587
|
||||
MAIL_USE_TLS=True
|
||||
MAIL_USERNAME=your-email@gmail.com
|
||||
MAIL_PASSWORD=your-email-password
|
||||
|
||||
# Pagination
|
||||
POSTS_PER_PAGE=10
|
||||
PROJECTS_PER_PAGE=12
|
||||
|
||||
# Cache
|
||||
CACHE_TYPE=simple
|
||||
CACHE_DEFAULT_TIMEOUT=300
|
||||
|
||||
Reference in New Issue
Block a user