python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python main.py
Open .lyrid-definition and change the App and Module name, because this will override another applications with the same name in the platform.
lc code submit
Wait until the cloud platform to finish with the build and the default deployment.
Edit the routes at /entry/entry.py with your custom API.
Add more middlewares or your business logic in there.