Skip to content

devRawnie/NBT-Epaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NBT E-Paper Handler

Get today's newspaper at this URL

https://fomknjverbo2erq7grhcgubxyi0rsxhq.lambda-url.ap-south-1.on.aws/

Steps to deploy using ZIP

  1. Clone the repository in your local
  2. Follow the given commands to create a deployment package, to be uploaded to Lambda. Refer this for reference.
cd NBT-Epaper
mkdir package

pip3 install -r requirements.txt --target ./package
cd package
zip -r ../deployment.zip package

cd ..
zip -r deployment.zip -j handler/
  1. Now create a Lambda function in AWS Lambda console, and upload this zip named deployment.zip

Steps to deploy using AWS SAM

  1. Make sure to install AWS SAM CLI
  2. Clone the repository in your local, then go inside the NBT-Epaper repository
  3. If you have python3.12 installed in your system, run sam build; sam deploy
  4. If you don't have python3.12 installed, you'll need Docker to create the deployment build inside a container. Install docker, and then change user to sudo via sudo -i. Then finally run sam build --use-container; sam deploy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages