- Project Overview
- Prerequisites
- Project Architecture
- Data Sources
- Installation
- Authentication
- Linting and Formatting
- Sponsors
- License
Tempelhof Climate Change Analysis is a collaborative project by the CODE University software engineering group aimed at observing climate changes occurring at Tempelhof Feld by analyzing satellite images.
- Python 3.x
- Git
To-do
- Clone the repository:
git clone https://github.com/codeuniversity/thf-climate.git
- Change directory to backend (from thf-climate):
cd backend
- Create a virtual environment and install the dependencies:
python -m venv venv source venv/bin/activate pip install -r requirements-dev.txt
- Copy the env.sample file to .env and set the required variables:
cp env.sample .env
- Change directory to frontend (from thf-climate):
cd frontend
- Install NPM packages:
npm install
- Run project locally:
npm run dev
- Clone the repository:
git clone https://github.com/codeuniversity/thf-climate.git
- Build the Docker image:
docker build --tag thf-climate .
- Run the Docker Container:
docker run --publish 8000:8000 thf-climate
Run the API locally using:
fastapi dev src/main.py
Serving at: http://127.0.0.1:8000 API docs: http://127.0.0.1:8000/docs
You need to authenticate with GEE to run the code. This is done with the auth.py
script.
python src/gee/auth.py
If you have authenticated before, you will most likely find your credentials in the following files. Add those credentials to your .env, then run the command above.
Linux/ Mac:
$HOME/.config/earthengine/credentials
Windows:
%UserProfile%\.config\earthengine\credentials
Ruff is used for linting and formatting.
You can install the vscode extension for ruff to get linting and formatting on save here
- CODE University
- Google Earth Engine
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more details.