Environments

Page Goal

Explain environment management in Temps, including how to set up development, staging, and production environments. Help users implement proper deployment workflows.

Target Persona

Professional Paula - A developer who:

  • Needs proper dev/staging/prod workflow
  • Works in a team environment
  • Wants to test before production deployment
  • Needs environment-specific configurations
  • Values: Safety, professional workflows, best practices
  • Pain points: Deploying untested code, environment configuration drift
  • Timeline: 10 minutes to understand environment strategy

Key Content to include

1. Environment Concept

  • What are environments in Temps
  • Common environment types (dev, staging, prod)
  • Environment isolation

2. Environment Variables

  • Setting environment-specific variables
  • Secrets management
  • Variable precedence and inheritance
  • Accessing variables in your app

3. Environment Configuration

  • Per-environment settings
  • Branch-to-environment mapping
  • Build configurations per environment
  • Domain configuration per environment

4. Deployment Workflows

  • Deploying to staging first
  • Promoting to production
  • Preview deployments
  • Rollback strategies

5. Best Practices

  • Environment naming conventions
  • Managing secrets across environments
  • Testing in staging
  • Production deployment checklist

6. Advanced Scenarios

  • Multiple staging environments
  • Feature branch deployments
  • Environment cloning

Success Metrics

  • User understands how to set up multiple environments
  • User can configure environment variables properly
  • User knows how to implement safe deployment workflows
  • User can test changes before production

Was this page helpful?