Skip to content

Commit 0228118

Browse files
committed
Update all instances of flex-demo to gitpodflix-demo
1 parent 9572584 commit 0228118

File tree

4 files changed

+12
-26
lines changed

4 files changed

+12
-26
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
"forwardPorts": [
2323
3000,
2424
3001,
25-
8000,
26-
3306,
27-
3002,
2825
5432
2926
],
3027
"postCreateCommand": ".devcontainer/setup.sh",
@@ -51,12 +48,9 @@
5148
"3001": {
5249
"label": "Catalog Service"
5350
},
54-
"3002": {
55-
"label": "Management UI"
56-
},
5751
"5432": {
5852
"label": "PostgreSQL"
5953
}
6054
},
6155
"remoteUser": "root"
62-
}
56+
}

.devcontainer/setup.sh

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,25 +55,18 @@ npm install -g nodemon
5555
# Install project dependencies
5656
echo "📦 Installing project dependencies..."
5757

58-
# Install management UI dependencies
59-
if [ -d "/workspaces/flex-demo/management-ui" ]; then
60-
echo "📦 Installing management UI dependencies..."
61-
cd /workspaces/flex-demo/management-ui
62-
npm install
63-
fi
64-
6558
# Install Gitpod Flix dependencies
66-
if [ -d "/workspaces/flex-demo/frontend" ]; then
59+
if [ -d "/workspaces/gitpodflix-demo/frontend" ]; then
6760
echo "📦 Installing Gitpod Flix dependencies..."
68-
cd /workspaces/flex-demo/frontend
61+
cd /workspaces/gitpodflix-demo/frontend
6962
npm install
7063
fi
7164

7265
# Install catalog service dependencies
73-
if [ -d "/workspaces/flex-demo/backend/catalog" ]; then
66+
if [ -d "/workspaces/gitpodflix-demo/backend/catalog" ]; then
7467
echo "📦 Installing catalog service dependencies..."
75-
cd /workspaces/flex-demo/backend/catalog
68+
cd /workspaces/gitpodflix-demo/backend/catalog
7669
npm install
7770
fi
7871

79-
echo "✅ Setup completed successfully!"
72+
echo "✅ Setup completed successfully!"

.gitpod/automations.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ services:
2020
-e POSTGRES_DB=gitpodflix \
2121
-p 5432:5432 \
2222
-v postgres_data:/var/lib/postgresql/data \
23-
-v /workspaces/flex-demo/database/main/migrations:/docker-entrypoint-initdb.d \
23+
-v /workspaces/gitpodflix-demo/database/main/migrations:/docker-entrypoint-initdb.d \
2424
postgres:15
2525
2626
ready: |
@@ -46,7 +46,7 @@ services:
4646
- postEnvironmentStart
4747
commands:
4848
start: |
49-
cd /workspaces/flex-demo/backend/catalog
49+
cd /workspaces/gitpodflix-demo/backend/catalog
5050
PORT=3001 npx nodemon src/index.ts
5151
ready: |
5252
if curl -s http://localhost:3001/health > /dev/null; then
@@ -59,7 +59,6 @@ services:
5959
stop: |
6060
pkill -f "node.*catalog" || true
6161
62-
6362
gitpod-flix:
6463
name: "Gitpod Flix"
6564
description: "Streaming platform frontend (Port: 3000)"
@@ -68,7 +67,7 @@ services:
6867
- postEnvironmentStart
6968
commands:
7069
start: |
71-
cd /workspaces/flex-demo/frontend
70+
cd /workspaces/gitpodflix-demo/frontend
7271
7372
# Wait for vite to be available
7473
echo "Waiting for vite to be available..."
@@ -105,7 +104,7 @@ tasks:
105104
- manual
106105
- postEnvironmentStart
107106
command: |
108-
cd /workspaces/flex-demo/database/main
107+
cd /workspaces/gitpodflix-demo/database/main
109108
110109
# Wait for PostgreSQL to be ready
111110
echo "Waiting for PostgreSQL to be ready..."
@@ -147,7 +146,7 @@ tasks:
147146
triggeredBy:
148147
- manual
149148
command: |
150-
cd /workspaces/flex-demo/database/main
149+
cd /workspaces/gitpodflix-demo/database/main
151150
PGPASSWORD=gitpod psql -h localhost -U gitpod -d gitpodflix -c "TRUNCATE TABLE movies;"
152151
153152
openDemoPorts:

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)