21 lines
802 B
Markdown
21 lines
802 B
Markdown
Required Files:
|
|
|
|
1. target/release/server - Main application binary
|
|
2. public/ - Complete directory with static assets, HTML files, CSS, images, and content
|
|
3. config.toml - Application configuration (update for production)
|
|
4. migrations/ - Database migration files (if using auth/content-db features)
|
|
5. templates/ - Email templates (if email feature enabled)
|
|
|
|
Optional but Recommended:
|
|
|
|
- certs/ - TLS certificates (if TLS feature enabled)
|
|
- content/ - Source content files (if using content-static feature)
|
|
- Dockerfile - For containerized deployment
|
|
|
|
Production Configuration Updates Needed:
|
|
|
|
- Update config.toml session secret
|
|
- Change database URL to production database
|
|
- Set environment = "production"
|
|
- Configure proper CORS origins
|
|
- Enable TLS if using HTTPS
|