This tutorial will have you deploying a Python app to Square Cloud in minutes.
- main.py (Example of main file).
- requirements.txt (dependency file).
- squarecloud.app (file that contains the Square Cloud configuration).
Preparing Files for Upload
Before hosting your project on Square Cloud, you must first have the files of your project properly configured, so that you can host it later.
It is recommended to delete the
__pycache__ & ffmpeg folder, if it exists in your project.
Create your squarecloud.app configuration file.
After the files of your project are ready (and the unnecessary files deleted), just zip them in .zip format before uploading to Square Cloud.
Uploading Files to Square Cloud
After preparing your project files, you can now upload them to Square Cloud and host your project. Access the Square Cloud Dashboard and upload your project files.