Skip to content

mcred89/news-site

Repository files navigation

News Site

Deploy to aws with Zappa

Set up your aws cli:

pip install awscli
aws config

Set up your virtual environemnt:

pip install virtualenv
cd /project/dir
virtualenv --python=python3 venv

Deploy or update the site:

source venv/bin/activate
pip install -r requirements.txt
zappa deploy prod
zappa update prod

Deploy under your Route53 domain and ACM cert:

Update these lines in zappa_settings.json:

"domain": "themcilroy.com",
"certificate_arn": "arn:aws:acm:us-east-1:824269988929:certificate/a029b88f-a7f8-40a4-bd09-3a49787d4c73"

Deploy your cert (this takes awhile to propigate):

zappa certify

Tear it all down with:

zappa undeploy

About

Python/Lambda daily news summary site

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published