Skip to content

Running the Hosting Service

Set up your AWS infrastructure and run the image archiving script using the steps below.

From the project root, run the Terraform script:

Terminal window
bash scripts/run_terraform.sh

Follow the prompts.

The script will print the CloudFront url. Save this url.

From the project root, build and run the Docker container:

Terminal window
docker compose build
docker compose up

Logs will show the download/upload progress.

After both steps complete, test by visiting the URL for “Dark Magician” in your browser:

<your-cloudfront-prefix-url>/images/cards/46986414.jpg

Replace <your-cloudfront-prefix-url> with the saved url.

If you see the image, your setup is working.