This repository contains the rust application which hosts the Source Cooperative Data Proxy.
- Cargo installed on your local machine
- The AWS CLI installed on your local machine
To run the data proxy locally, run the following command:
./scripts/run.sh
Before you begin the deployment process, ensure that you have the SOURCE_KEY
environment variable set with the production key.
After committing your changes, tag the release and bump the version with the following command:
./scripts/tag-release.sh
To build and push the docker image to ECR, run the following command:
./scripts/build-push.sh
To deploy the image to ECS, run the following command:
./scripts/deploy.sh
To roll back a deployment, first checkout the code for the version that you want to roll back to. For example:
git checkout v0.1.12
Next, deploy the version to ECS:
./scripts/deploy.sh