Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> This commit refactors the entire application to replace the 'parties' concept with 'events'. All controllers, models, views, and related files have been updated to reflect this change. The parties table has been replaced with an events table, and all related functionality has been updated accordingly.
33 lines
879 B
Plaintext
Executable File
33 lines
879 B
Plaintext
Executable File
# Application data
|
|
RAILS_ENV=production
|
|
SECRET_KEY_BASE=a3f5c6e7b8d9e0f1a2b3c4d5e6f7g8h9i0j1k2l3m4n5o6p7q8r9s0t1u2v3w4x5y6z7
|
|
DEVISE_SECRET_KEY=your_devise_secret_key_here
|
|
APP_NAME=Pafterwork
|
|
|
|
# Database Configuration for production and development
|
|
DB_HOST=mariadb
|
|
DB_ROOT_PASSWORD=root
|
|
DB_DATABASE=aperonight
|
|
DB_USERNAME=aperonight
|
|
DB_PASSWORD=aperonight
|
|
|
|
# Test database
|
|
DB_TEST_ADAPTER=sqlite3
|
|
DB_TEST_DATABASE=aperonight_test
|
|
DB_TEST_USERNAME=root
|
|
DB_TEST_USERNAME=root
|
|
|
|
# Mailer Configuration (for Devise and tests)
|
|
MAILER_DEFAULT_URL_OPTIONS=http://localhost:3000
|
|
# Test environment will use MailHog by default on 127.0.0.1:1025
|
|
SMTP_ADDRESS=127.0.0.1
|
|
SMTP_PORT=1025
|
|
# Optional auth (usually not required for MailHog)
|
|
# SMTP_USER_NAME=
|
|
# SMTP_PASSWORD=
|
|
# SMTP_DOMAIN=localhost
|
|
SMTP_AUTHENTICATION=plain
|
|
SMTP_ENABLE_STARTTLS=false
|
|
|
|
# Application variables
|
|
STRIPE_API_KEY=1337 |