From 2f5534d74cb77c52fea79affd7ccb19ac9473b72 Mon Sep 17 00:00:00 2001 From: Anoch Date: Sat, 9 May 2026 22:19:49 -0400 Subject: [PATCH 1/4] fixed: next config --- apps/web/next.config.ts | 31 ++++++++++++++----- projects/learning-python/day-1/README.md | 18 +++++++++++ projects/learning-python/day-1/hello_world.py | 1 + 3 files changed, 42 insertions(+), 8 deletions(-) create mode 100644 projects/learning-python/day-1/README.md create mode 100644 projects/learning-python/day-1/hello_world.py diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index aaae215..d7504c4 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -1,21 +1,36 @@ -import path from "node:path"; -import { fileURLToPath } from "node:url"; -import type { NextConfig } from "next"; +import path from "node:path" +import { fileURLToPath } from "node:url" +import type { NextConfig } from "next" -const appRoot = path.dirname(fileURLToPath(import.meta.url)); -const workspaceRoot = path.join(appRoot, "../.."); +const appRoot = path.dirname(fileURLToPath(import.meta.url)) +const workspaceRoot = path.join(appRoot, "../..") const nextConfig: NextConfig = { - /* config options here */ images: { remotePatterns: [ { protocol: "https", hostname: "api.dicebear.com", + port: "", + pathname: "/**", }, { protocol: "https", hostname: "studentide.com", + port: "", + pathname: "/**", + }, + { + protocol: "https", + hostname: "avatars.githubusercontent.com", + port: "", + pathname: "/u/**", + }, + { + protocol: "https", + hostname: "wsgejjkysw9dngbl.public.blob.vercel-storage.com", + port: "", + pathname: "/**", }, ], }, @@ -26,6 +41,6 @@ const nextConfig: NextConfig = { typescript: { ignoreBuildErrors: true, }, -}; +} -export default nextConfig; +export default nextConfig \ No newline at end of file diff --git a/projects/learning-python/day-1/README.md b/projects/learning-python/day-1/README.md new file mode 100644 index 0000000..07166d7 --- /dev/null +++ b/projects/learning-python/day-1/README.md @@ -0,0 +1,18 @@ +# Learning Python - Day 1 + +This is a simple tutorial on how to get started with Python. We will cover the basics of Python programming, including variables, data types, and basic syntax. + +## Getting Started +Look at the file, `hello_world.py`, and run it using the command line: + +```bash +python hello_world.py +``` + +You should see the output: + +``` +Hello, World! +``` + +You just ran your first Python program! This is the traditional "Hello, World!" program that is often used as a first example when learning a new programming language. \ No newline at end of file diff --git a/projects/learning-python/day-1/hello_world.py b/projects/learning-python/day-1/hello_world.py new file mode 100644 index 0000000..4648e70 --- /dev/null +++ b/projects/learning-python/day-1/hello_world.py @@ -0,0 +1 @@ +print("Hello, World!") \ No newline at end of file From c984a76d70dc8071a434899f622d6ed4cf7afe7d Mon Sep 17 00:00:00 2001 From: Anoch Date: Sat, 9 May 2026 23:25:52 -0400 Subject: [PATCH 2/4] ft: updated events --- apps/infra/lib/ide-stack.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/infra/lib/ide-stack.ts b/apps/infra/lib/ide-stack.ts index 068f331..411de0d 100644 --- a/apps/infra/lib/ide-stack.ts +++ b/apps/infra/lib/ide-stack.ts @@ -140,6 +140,7 @@ export class IDEStack extends cdk.Stack { source: ["aws.ecs"], detail: { lastStatus: ["RUNNING"], + desiredStatus: ["RUNNING"], clusterArn: [ideCluster.clusterArn], group: events.Match.anythingBut("family:s3-archiver"), }, @@ -220,6 +221,7 @@ export class IDEStack extends cdk.Stack { source: ["aws.ecs"], detail: { lastStatus: ["STOPPED"], + desiredStatus: ["STOPPED"], clusterArn: [ideCluster.clusterArn], group: events.Match.anythingBut("family:s3-archiver"), }, From 8261ab3f523dc38df86036bf7f20e47c157e7c9f Mon Sep 17 00:00:00 2001 From: Anoch Date: Sun, 10 May 2026 00:35:37 -0400 Subject: [PATCH 3/4] debug: added debugging to the environments --- apps/infra/lib/ide-stack.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/infra/lib/ide-stack.ts b/apps/infra/lib/ide-stack.ts index 411de0d..d8bc041 100644 --- a/apps/infra/lib/ide-stack.ts +++ b/apps/infra/lib/ide-stack.ts @@ -341,6 +341,9 @@ export class IDEStack extends cdk.Stack { containerPort: 3000, }, ], + logging: ecs.LogDrivers.awsLogs({ + streamPrefix: "environment", + }), }); envContainer.addMountPoints({ From cc8a1226361969e2f0cf803cfd9d0feafcde48aa Mon Sep 17 00:00:00 2001 From: Anoch Date: Sun, 10 May 2026 01:28:05 -0400 Subject: [PATCH 4/4] fix: possible ide not building --- turbo.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/turbo.json b/turbo.json index 9a79559..e660c5a 100644 --- a/turbo.json +++ b/turbo.json @@ -7,7 +7,12 @@ "inputs": ["$TURBO_DEFAULT$", ".env*"], "outputs": [] }, + "ide#deploy": { + "cache": false, + "outputs": [] + }, "infra#deploy": { + "dependsOn": ["^deploy"], "passThroughEnv": ["AWS_*"], "env": [ "CDK_DEFAULT_ACCOUNT",