Before we start: kindly ensure that:
- The relevant AWS resources has already been deployed. ie; as part of terraform.
- AWS CLI and ECS CLI has been installed & configured locally.
Ensure that the variables has been filled in for the following files. You may also override any existing variables that is deemed necessary.
File:secrets.env
:
GGAUTH_OAUTH2_CLIENT_ID
- OAuth2 Client IDGGAUTH_OAUTH2_CLIENT_SECRET
- OAuth2 Client SecretVIRTUAL_HOST
- host/domain name of the website, ie; google.com
File:local_deploy.sh
ACCOUNT_ID
- AWS Account Identifier, eg; 34567890AWS_PROFILE
- AWS profile name that is configured on AWS CLI with relevant permissions. List of configured profiles can be checked viaaws configure list-profiles
Navigate to the project directory and run ./local_deploy.sh