Skip to content

Commit

Permalink
Add simplified deploy_backend.sh steps for DEMO
Browse files Browse the repository at this point in the history
  • Loading branch information
san99tiago committed May 25, 2024
1 parent 8e815b7 commit e175f09
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions deploy_backend.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

####################################################################################################
# STEPS EXECUTED TO DEPLOY THE BACKEND PROJECT (SIMPLIFIED WITHOUT POETRY TOOL)
####################################################################################################

# Install Python dependencies with Poetry
pip install -r requirements.txt

# Configure deployment environment
export AWS_DEFAULT_REGION=us-east-1
export DEPLOYMENT_ENVIRONMENT=prod

# Initialize CDK (Cloud Development Kit)
ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)
cdk bootstrap aws://${ACCOUNT_ID}/us-east-1

# Deploy the backend
cdk deploy --require-approval never

0 comments on commit e175f09

Please sign in to comment.