Skip to content

climatepolicyradar/documents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documents

Data

All services data is contained in docker images to avoid damaging data in a local datastore.

docker compose up -d

API

Run

Grab the data from S3

aws --profile production s3 cp s3://cpr-production-rds/admin-service/dump-2025-02-12-navigator-production.sql sql-init/dump-2025-02-12-navigator-production.sql

Run the API

cd api
poetry install
poetry run fastapi dev

Deleting data and starting again

docker volume rm documents_navigator_postgres_data
docker compose up -d

Generating nicer API docs

# When the API is running
npx @redocly/cli build-docs http://127.0.0.1:8000/openapi.json

Then just open the redoc-static.html file in your browser.


CMS (Strapi)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published