43 lines
1.0 KiB
Markdown
43 lines
1.0 KiB
Markdown
# Simple Flask Test App
|
|
|
|
A minimal 2-page Flask application to test Passenger WSGI deployment.
|
|
|
|
## Pages
|
|
- `/` - Home page (Hello World)
|
|
- `/about` - About page
|
|
- `/test` - Test page (shows system info)
|
|
|
|
## Local Testing
|
|
```bash
|
|
cd app_simple
|
|
python app.py
|
|
```
|
|
Visit: http://localhost:8080/
|
|
|
|
## Server Deployment
|
|
|
|
### Upload these files to: `/home/bmdwtjuw/product-finder/`
|
|
- `app.py`
|
|
- `wsgi.py`
|
|
- `templates/home.html`
|
|
- `templates/about.html`
|
|
|
|
### Control Panel Configuration
|
|
- **Application startup file:** `wsgi.py`
|
|
- **Application Entry point:** `app`
|
|
- **Python version:** 3.13.11
|
|
|
|
### Test URLs (after deployment)
|
|
- https://columbiawindows.com/product-finder/
|
|
- https://columbiawindows.com/product-finder/about
|
|
- https://columbiawindows.com/product-finder/test
|
|
|
|
## What This Tests
|
|
✓ Python 3.13.11 compatibility
|
|
✓ Flask framework loading
|
|
✓ Template rendering
|
|
✓ URL routing
|
|
✓ Passenger WSGI configuration
|
|
|
|
Once this works, you can add back the login/user management features from `app2` folder.
|