This project is a UAV (Unmanned Aerial Vehicle) monitoring system built with Flask (backend) and Vue.js (frontend). It allows users to manage drones, tasks, and captured images associated with those tasks.
-
Create a virtual environment:
python3.11 -m venv venv && source venv/bin/activate
-
Upgrade pip:
pip install --upgrade pip
-
Install dependencies:
pip install -r requirements.txt
-
Initialize the migrations:
flask db init
-
Generate migration:
flask db migrate
-
Apply migration to create database tables:
flask db upgrade
-
Start the Flask application:
python3 -m backend.app
-
Install Node.js dependencies:
cd client npm install
-
Compile and hot-reload for development:
nvm use 14 npm run dev
-
Compile and minify for production:
npm run build
- Ensure you have Node.js and npm installed on your system for the frontend setup.
- The backend runs on Flask, and the frontend is developed using Vue.js.
- The project uses Flask-Migrate for database migrations and SQLAlchemy as the ORM.
This README provides clear setup instructions for both the backend and frontend, along with some additional notes about the project.