What you’ll learn
Flask
Build Python web apps
Autoscaling
Publish with automatic scaling
Web Development
Create dynamic web pages
Deployment
Host your application
Create your app
1
Fork the template
VSign in to Replit and fork the Flask template. Select + Use Template and follow the prompts to create your Replit App.
Flask’s development server automatically reloads when you make changes to your code.
2
Set up publishing
- Select Publish in the workspace header
- Choose Autoscale deployment
- Configure your app:
- Machine: 1vCPU, 2 GiB RAM (default)
- Max machines: 3 (default)
- Run command:
python3 main.py
Autoscale deployments automatically adjust resources based on website traffic.
3
Launch
Select Publish to launch your website. It will be live in a few minutes!
Customization options
Routes
- Add new pages
- Handle form submissions
- Create API endpoints
Templates
- Design page layouts
- Add dynamic content
- Style your pages
Next steps
Related guides
Want to learn more about web development? Check out our publishing documentation.