Introduction
This guide covers deploying Flask applications on Shard Cloud. Flask is a lightweight WSGI web framework for Python.Creating Your Project
Ensure you have Python and pip installed. Download from python.org.Installing Flask
Basic Flask Application
Create anapp.py file:
app.py
Requirements File
Create arequirements.txt:
requirements.txt
Production Server with Gunicorn
Shard Cloud Configuration
Create a.shardcloud file:
.shardcloud
.shardcloud
Deploying
Upload to Shard Cloud
Go to Shard Cloud Dashboard and
upload.
Additional Resources
Visit the official Flask documentation for more information.Troubleshooting
ModuleNotFoundError
ModuleNotFoundError
Ensure all dependencies are listed in
requirements.txt.Application not accessible
Application not accessible
Verify you’re binding to
0.0.0.0 and port 80.