This section details how to run the solution locally and deploy your code changes from the command line.
The following dependencies must be installed:
- Python >=3.12 and pip
- virtualenv
- AWS CLI configured with appropriate credentials
Once you have installed pre-requisites, you must run the following commands to create a virtualenv and install all dependencies before commencing development.
Note: This project is currently being updated to Python 3.13, SQL Server 2022, Windows Server 2022 AMI, and 6th generation EC2/RDS instances (M6i, C6i) for improved performance and security.
-
Create a S3 bucket
BUCKET_NAME="your-s3-bucket-name" AWS_REGION="aws-region(e.g. us-east-1)" aws s3 mb s3://${BUCKET_NAME} --region $AWS_REGION -
Create a
.custom.mkfile and populate it with your own valuescp .custom.mk.example .custom.mk -
Initialize the local environment
make init -
Activate
virtualenvenvironment.source venv/bin/activate
To deploy the solution manually from the source to your AWS account, run the following:
make deploy
This will deploy the nested stack using the AWS CLI profile of the current shell. By default this will be the profile default.
The following command will run pre-commit tests. This should be run before every new commit.
make test
This command will delete the virtual environment and all installed packages install via make init
make clean
Below command will delete deployed stack
make delete