@@ -12,7 +12,7 @@ Open a terminal and run:
1212
1313``` bash
1414cd backend
15- python app .py
15+ python main .py
1616```
1717
1818Flask will start on ` http://localhost:5000 `
@@ -63,7 +63,7 @@ This creates a `dist/` directory with production files.
6363
6464``` bash
6565cd backend
66- python app .py
66+ python main .py
6767```
6868
6969Flask will automatically detect and serve the built Vue.js files from ` frontend/dist/ ` .
@@ -96,7 +96,7 @@ Create `start-dev.ps1`:
9696
9797``` powershell
9898# Start Flask backend
99- Start-Process powershell -ArgumentList "-NoExit", "-Command", "cd backend; python app .py"
99+ Start-Process powershell -ArgumentList "-NoExit", "-Command", "cd backend; python main .py"
100100
101101# Wait a moment
102102Start-Sleep -Seconds 2
@@ -116,7 +116,7 @@ Create `start-dev.sh`:
116116
117117# Start Flask backend in background
118118cd backend
119- python app .py &
119+ python main .py &
120120BACKEND_PID=$!
121121
122122# Wait a moment
@@ -140,15 +140,15 @@ Run with: `./start-dev.sh`
140140### Port Already in Use
141141
142142** Flask (port 5000):**
143- - Change port in ` backend/app .py ` : ` app.run(port=5001) `
143+ - Change port in ` backend/main .py ` : ` app.run(port=5001) `
144144
145145** Vue.js (port 5173):**
146146- Change port in ` frontend/vite.config.js ` : ` server: { port: 5174 } `
147147
148148### API Requests Failing
149149
150150- Ensure Flask is running on port 5000
151- - Check CORS configuration in ` backend/app.py `
151+ - Check CORS configuration in ` backend/app/__init__ .py `
152152- Verify proxy settings in ` frontend/vite.config.js `
153153
154154### Module Not Found Errors
@@ -169,7 +169,7 @@ npm install
169169
170170For daily development, use ** Option 1** (separate servers):
171171
172- 1 . Terminal 1: ` cd backend && python app .py `
172+ 1 . Terminal 1: ` cd backend && python main .py `
1731732 . Terminal 2: ` cd frontend && npm run dev `
1741743 . Open browser: http://localhost:5173
175175
0 commit comments