A robust system for monitoring SAR data from Google Earth Engine, with support for managing Areas of Interest (AOIs) and automated data processing.
- Python 3.9+
- Node.js 18+
- Docker Desktop
- PostgreSQL 14+ with PostGIS extension
- Google Earth Engine account with authentication set up
-
Clone the repository and navigate to it:
git clone https://github.com/yourusername/geescan.git cd geescan -
Run the initialization script:
.\init_containers.batThis will set up the required Docker containers for PostgreSQL and PGAdmin.
-
Run the startup script:
.\start_app.batThe first run will:
- Create and activate Python virtual environment
- Install Python dependencies
- Initialize the database
- Install frontend dependencies
- Start all services
.\start_app.batThis will:
- Start Docker containers
- Start the Flask backend (http://localhost:5000)
- Start the React frontend (port shown in terminal)
.\clear_ports.batThis will:
- Stop Docker containers (preserves data)
- Clear any processes on ports 3000 and 5000
geescan/
├── backend/ # Flask backend
│ ├── app/ # Application code
│ │ ├── api/ # API endpoints
│ │ └── models/ # Database models
│ └── venv/ # Python virtual environment
├── frontend/ # React frontend
│ └── src/ # Source code
└── scripts/ # Utility scripts
├── init_containers.bat # First-time container setup
├── start_app.bat # Start the application
└── clear_ports.bat # Stop the application
- Backend API: http://localhost:5000
- Frontend: Port shown in React terminal
- PostgreSQL: localhost:5432
- PGAdmin: http://localhost:5050
-
If you see
'react-scripts' is not recognizedor other npm-related errors:cd frontend npm install --legacy-peer-deps -
If ports are already in use:
.\clear_ports.bat
- Create a feature branch
- Make your changes
- Submit a pull request
MIT License