-
Notifications
You must be signed in to change notification settings - Fork 4
Deployment
chris48s edited this page Jan 27, 2020
·
3 revisions
- Set the production API key in an env var
REACT_APP_API_KEY
(if you put this in a.env.production
file, it will be picked up automatically) - Deploy to S3 as a static file using
./deploy.sh
- The deploy script depends on
jq
andawscli
:sudo apt-get install jq awscli
- Set your AWS credentials with an env var:
export AWS_PROFILE=wheredoivote
- You can check your AWS authentication using
aws iam get-user
before attempting a deploy
TODO: automate this process and have Travis CI run it on a successful commit to master.