Skip to content

emdi85/safedrive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Car Alert System

Description

This project is a car alert system that uses GPS data and integrates with vegvesenet.no to provide real-time alerts for speed cameras, traffic conditions, and more.

Setup

Prerequisites

  • Python 3.x
  • A virtual environment tool (e.g., venv)

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/car_alert_system.git
    cd car_alert_system
  2. Create a virtual environment:

    python -m venv env
    source env/bin/activate  # On Windows: env\Scripts\activate
  3. Install the required packages:

    pip install -r requirements.txt

Running the Application

  1. Navigate to the app directory:

    cd app
  2. Run the Flask application:

    python main.py
  3. Open a web browser and navigate to http://localhost:5000 to view the interface.

Files

  • app/ - Contains the application code.
  • app/static/ - Contains static files like CSS.
  • app/templates/ - Contains HTML templates.
  • app/main.py - The main Flask application file.
  • app/gps_reader.py - Reads GPS data.
  • app/alert_system.py - Handles alert generation.
  • app/data_fetcher.py - Fetches data from vegvesenet.no.
  • app/utils.py - Utility functions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published