feat: Add initial production deployment support
- Add .env.example file for environment variable setup - Add .gitignore to manage sensitive files and directories - Add Dockerfile.prod for production-ready Docker image - Add PRODUCTION_CHECKLIST.md for pre/post deployment steps - Add PRODUCTION_DEPLOYMENT.md for deployment instructions - Add STRIPE_SETUP.md for Stripe payment configuration - Add config/default.toml for default configuration settings - Add config/local.toml.example for local configuration template
This commit is contained in:
21
actix_mvc_app/.env.example
Normal file
21
actix_mvc_app/.env.example
Normal file
@@ -0,0 +1,21 @@
|
||||
# Environment Variables Template
|
||||
# Copy this file to '.env' and customize with your own values
|
||||
# This file should NOT be committed to version control
|
||||
|
||||
# Server Configuration
|
||||
# APP__SERVER__HOST=127.0.0.1
|
||||
# APP__SERVER__PORT=9999
|
||||
|
||||
# Stripe Configuration (Test Keys)
|
||||
# Get your test keys from: https://dashboard.stripe.com/test/apikeys
|
||||
# APP__STRIPE__PUBLISHABLE_KEY=pk_test_YOUR_PUBLISHABLE_KEY_HERE
|
||||
# APP__STRIPE__SECRET_KEY=sk_test_YOUR_SECRET_KEY_HERE
|
||||
# APP__STRIPE__WEBHOOK_SECRET=whsec_YOUR_WEBHOOK_SECRET_HERE
|
||||
|
||||
# For production, use live keys:
|
||||
# APP__STRIPE__PUBLISHABLE_KEY=pk_live_YOUR_LIVE_PUBLISHABLE_KEY
|
||||
# APP__STRIPE__SECRET_KEY=sk_live_YOUR_LIVE_SECRET_KEY
|
||||
# APP__STRIPE__WEBHOOK_SECRET=whsec_YOUR_LIVE_WEBHOOK_SECRET
|
||||
|
||||
# Database Configuration (if needed)
|
||||
# DATABASE_URL=postgresql://user:password@localhost/dbname
|
Reference in New Issue
Block a user