Learn how to get started on Square Cloud with Python
START
field is not defined in the configuration file, Square Cloud will run python MAIN
to execute the Python file specified in the MAIN
field. If the START
field is defined in the configuration file, the value in the START
field will be executed directly. For more information on configuration file parameters, visit configuration parameters.
pip install
to install all dependencies listed in the requirements.txt
.
squarecloud.app/.config
) and the essential files of your application in a zip file.
squarecloud.app/.config
) file must be located in the root of the zip file. Otherwise, Square Cloud will not be able to find it during deployment.ffmpeg
: This software is pre-installed in the Square Cloud environment, so there’s no need to include this folder in your project..venv
: This folder contains the virtual environment for your project. Square Cloud provides an isolated environment, so this folder is not required.poetry.lock
: Since Square Cloud does not currently support Poetry, this file should be excluded to avoid any potential issues during deployment.ffmpeg
, .venv
and poetry.lock
is important for several reasons:
poetry.lock
ensures that there are no compatibility issues, as Square Cloud relies on requirements.txt
for installing dependencies.
The main file is invalid or corrupted
folder/file.js
.Bad Memory