https://github.com/dinidu21/traffic-data-analysis-app
https://github.com/dinidu21/traffic-data-analysis-app
data-analytics docker docker-compose docker-image flask html-css-javascript python
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dinidu21/traffic-data-analysis-app
- Owner: Dinidu21
- Created: 2024-12-11T14:45:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-10T19:45:09.000Z (about 1 year ago)
- Last Synced: 2025-04-10T20:45:10.542Z (about 1 year ago)
- Topics: data-analytics, docker, docker-compose, docker-image, flask, html-css-javascript, python
- Language: Python
- Homepage: https://my-flask-theta.vercel.app
- Size: 85.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Traffic Data Analysis Web Application

## Deployment Instructions for Vercel
### Prerequisites
- Vercel Account
- Python 3.8+
- Git
### Deployment Steps
1. Clone this repository
2. Create a virtual environment
```
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
```
3. Install dependencies
```
pip install -r requirements.txt
```
4. Ensure you have the following files:
- `app.py`
- `vercel.json`
- `requirements.txt`
- `static/` directory with CSS and JS files
- `templates/` directory with HTML files
5. Deploy to Vercel
```
vercel
```
### Notes
- The application uses `/tmp` directory for temporary file uploads
- Ensure all static files are in the correct directories
- The application is configured to work with Vercel's serverless environment
### License
This project is licensed under the [MIT License](LICENSE).