Creating a Site in Altitude Platform v2.4.0
This guide will walk you through the process of creating a new site in Altitude Platform version 2.4.0.
Prerequisites
Before you begin, make sure you have:
- An Altitude Platform account
- A GitHub repository with your project
- Basic familiarity with Git
Step 1: Log in to Altitude Platform
- Go to Altitude Platform
- Log in with your credentials
- If you’re part of multiple teams, select the appropriate team
Step 2: Create a New Site
- From the dashboard, click the “Create Site” button
- Enter a name for your site
- Select the GitHub repository containing your project
- Choose the branch you want to deploy
- You can select multiple branches for preview deployments with custom domain patterns
Step 3: Configure Build Settings
- Specify the build command (e.g.,
npm run build) - Set the output directory (e.g.,
distorbuild) - Configure environment variables needed for the build
- You can set different environment variables for different deployment environments with inheritance support
Step 4: Configure Advanced Settings
- Set up KV store access with TTL support
- Configure edge function settings with enhanced performance options
- Set up team permissions with role-based access control
- Configure CI/CD integration with detailed deployment reports
- Set up real-time monitoring alerts
- Configure health checks for automatic failover (see Health Checks)
Step 5: Deploy Your Site
- Click “Create Site” to finalize the setup
- Wait for the initial build and deployment to complete
- Once deployed, you’ll receive a URL where your site is accessible
- View real-time deployment logs and metrics
Step 6: Configure Custom Domain
- Go to the site settings
- Click on “Domains”
- Add your custom domain
- Follow the DNS configuration instructions
- Automatic SSL certificate provisioning and renewal with HTTP/3 support
Troubleshooting
If you encounter issues during deployment:
- Use the real-time monitoring dashboard to identify issues
- Check the build logs for detailed error information
- Use the deployment inspector to identify performance bottlenecks
- Contact support through the in-app chat feature
Next Steps
Now that you’ve created your site, you can: