Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 915 Bytes

Deploy.md

File metadata and controls

28 lines (20 loc) · 915 Bytes

How to deploy our app

Our continuous integration pipeline is configured to automatically deploy our frontend and backend applications. This document describes the steps for manual deployment.

Before you begin, make sure you are running Python 3.6 and you have a valid AWS account and your AWS credentials file is properly installed.

Backend

Flask app packaged using Zappa and deployed to AWS Lambda.

virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt
zappa deploy production

Note: if already deployed use zappa update production to update.

Frontend

React app deployed to GitHub Pages.

cd client
yarn install
REACT_APP_API_BASE=endpoint_url yarn deploy

Note: environment variable REACT_APP_API_BASE is the production AWS backend endpoint.