No description
Find a file
2026-02-12 13:14:05 -05:00
prisma adds prisma test 2026-02-07 18:48:39 -05:00
src update redis to work in prod 2026-02-10 16:10:06 -05:00
types first commit 2026-02-07 18:15:57 -05:00
.dockerignore adds container build steps 2026-02-07 18:57:10 -05:00
.env first commit 2026-02-07 18:15:57 -05:00
.gitignore first commit 2026-02-07 18:15:57 -05:00
bun.lock updates prisma connection to work in prod 2026-02-10 15:33:21 -05:00
cloudbuild.yaml modify cloudbuild 2026-02-10 19:45:20 +00:00
dev-docker-compose.yml add names to containers for easier management 2026-02-10 15:38:35 -05:00
Dockerfile add Dockerfile TODO to use bun 2026-02-12 13:14:05 -05:00
eslint.config.mjs first commit 2026-02-07 18:15:57 -05:00
next.config.ts first commit 2026-02-07 18:15:57 -05:00
package.json adds prisma test 2026-02-07 18:48:39 -05:00
README.md Update README.md 2026-02-10 16:55:17 -05:00
tsconfig.json first commit 2026-02-07 18:15:57 -05:00
yarn.lock adds prisma test 2026-02-07 18:48:39 -05:00

Infra Test

This repo contains code meant to test the functionality and connections between Cloud Run, Memorystore, and CloudSQL.

Running locally

  1. source .env
  2. docker compose -f ./dev-docker-compose.yml up -d
  3. bun install
  4. bun dev

Deploying

The actual infrastructure is deployed via Terraform and is located here: https://git.juliafasick.com/julia/code-battlegrounds-infra

  1. gcloud builds submit # to build image and deploy to artifact repo
  2. In the infra repo, run terraform init && terraform apply -var enable_redis
  3. For testing purposed, the site is not public, but can be accessed locally via ./proxy.sh in the infra repo.

Result image