Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 767 Bytes

README.md

File metadata and controls

53 lines (38 loc) · 767 Bytes

Flask bootstrap template.

To install dependencied

$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

to run

$  python run.py

Then navigate to http://localhost:5000/

AWS services

Install aws cli

$ brew install aws

Install SAM

$ sudo pip install aws-sam-cli

Deploying

zappa

$ source venv/bin/activate
$ pip install zappa
$ zappa init 
(venv) $ zappa init
(venv) $ zappa package dev

SAM

as Server less Application Model

sam package --template-file template.yml --output-template-file packaged.yml --s3-bucket proj-input
sam deploy --template-file packaged.yml --stack-name xreport-sam --capabilities CAPABILITY_IAM