-
Copy
test_oct2_.h5to thebackend/app/mldirectory. -
Copy
best_naip_unet_model.h5to thebackend/app/mldirectory. -
Rename
.backend.env.exampleto.backend.env. Environment settings:
AOI_AREA_LIMIT(integer): Specifies the maximum allowable user-drawn area in square meters.SECRET_KEY(string): Change to your own unique, strong secret key.
- Rename
.env.development.exampleto.env.development. Environment settings:
VITE_AOI_AREA_LIMIT(integer): Specifies the maximum allowable user-drawn area in square meters. Should match limit set on backend.VITE_MAPBOX_ACCESS_TOKEN(string): Mapbox access token for displaying basemap.
Run the following commands from the root repo directory.
- Build the
frontendandbackendimages by running:
docker compose build- Start the containers in the background by running:
docker compose up -d-
Access the application in your browser at
http://localhost:8001. -
Stop the containers by running:
docker compose down