Skip to content

A very minimal template for Python Serverless Framework projects

License

Notifications You must be signed in to change notification settings

fourTheorem/serverless-py-minimal-starter

Repository files navigation

Serverless Python Minimal Template

This is a minimal Serverless Framework Python template that provides a simple starting point for building serverless applications with Python.

Features

Requirements

To use this template, you need to have the following software installed on your machine:

  • Node.js (v16 or later), so you can run The Serverless Framework
  • Python (v3.9 or later)
  • Docker (if using native dependencies that must be built for the target Linux architecture used by AWS Lambda)

You also need to have an AWS account and AWS CLI configured with your credentials.

Usage

To create a new service based on this template, use the following command:

serverless create --template-url https://github.com/fourTheorem/serverless-minimal-starter --path <service-name>

Replace <service-name> with the desired name of your new service. This will create a new directory with the specified name, containing the files from this template.

To deploy the service, use the following command:

serverless deploy --stage <stage> --region <region>

Replace <stage> and <region> with the desired values. The default stage is dev and the default region is eu-west-1.

To delete all resources created as part of this service, use the following command:

serverless remove --stage <stage> --region <region>

License

This project is licensed under the Apache 2.0 License - see the LICENSE.md file for details.

About

A very minimal template for Python Serverless Framework projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages