website-htmx-rustelo-code/scripts/save/dist-steps.md
2026-07-10 03:44:13 +01:00

802 B

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