Skip to content

Commit bdb3c15

Browse files
Revert "update frontend folder structure (src → app/frontend)"
This reverts commit 29e06ce.
1 parent a51a2ab commit bdb3c15

31 files changed

Lines changed: 10 additions & 10 deletions

.gitignore

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ eggs/
3636
*.swo
3737

3838
# Node
39-
/content-gen/src/app/frontend/node_modules/
40-
/content-gen/src/app/frontend-server/node_modules/
41-
/content-gen/src/app/frontend-server/static/
42-
/content-gen/src/app/frontend-server/*.zip
39+
/content-gen/src/frontend/node_modules/
40+
/content-gen/src/frontend-server/node_modules/
41+
/content-gen/src/frontend-server/static/
42+
/content-gen/src/frontend-server/*.zip
4343
node_modules/
4444

4545
# Build output
46-
/content-gen/src/app/frontend/dist/
46+
/content-gen/src/static/
4747

4848
# Logs
4949
*.log

content-gen/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ pip install -r requirements.txt
142142
python app.py
143143

144144
# Frontend
145-
cd src/app/frontend
145+
cd src/frontend
146146
npm install
147147
npm run dev
148148
```

content-gen/docs/AZD_DEPLOYMENT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ az container restart --name $ACI_NAME --resource-group $RG_NAME
237237
### Update Only the Frontend
238238

239239
```bash
240-
cd src/app/frontend
240+
cd src/frontend
241241
npm install && npm run build
242242

243243
cd ../frontend-server
@@ -336,7 +336,7 @@ Error: az webapp deploy failed
336336

337337
**Solution**: Ensure the frontend builds successfully:
338338
```bash
339-
cd src/app/frontend
339+
cd src/frontend
340340
npm install
341341
npm run build
342342
```

content-gen/docs/DEPLOYMENT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ az webapp config set \
287287
--http20-enabled false
288288

289289
# Build and deploy frontend
290-
cd content-gen/src/app/frontend
290+
cd content-gen/src/frontend
291291
npm install
292292
npm run build
293293

@@ -396,7 +396,7 @@ az container restart -g $RESOURCE_GROUP -n aci-contentgen-backend
396396
### Update Frontend
397397

398398
```bash
399-
cd content-gen/src/app/frontend
399+
cd content-gen/src/frontend
400400
npm run build
401401
cd ../frontend-server
402402
zip -r frontend-deploy.zip static/ server.js package.json package-lock.json
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)