Skip to content

Lyrid Serverless Template for Python3.8 with Flask Web Framework

Notifications You must be signed in to change notification settings

LyridInc/Flask-Python3.8-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lyrid Python 3.8 Flask Template

Set virtual environment(optional):

python -m venv lyrid-venv
source lyrid-venv/bin/activate

Run locally with:

pip install -r requirements.txt
python main.py

Open http://localhost:3000

Edit the names (optional):

Open .lyrid-definition and change the App and Module name, because this will override another applications with the same name in the platform.

Then submit to Lyrid Platform:

lc code submit

Wait until the cloud platform to finish with the build and the default deployment.

Start hacking:

Edit the routes at /entry/entry.py with your custom API.

Add more middlewares or your business logic in there.

About

Lyrid Serverless Template for Python3.8 with Flask Web Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published