An open source data platform for viewing data provided by the DBT Public Data API
- Does not use a database
- Data can be accessed by an API, or downloaded
- Promotes immutable and versioned datasets
- Includes GOV.UK Design System-styled documentation and frontend
- Low memory usage even for large datasets - responses are streamed to the client
- HTTP Range requests are supported when possible to allow clients to resume interrupted downloads
- HTTP Cookies are not used
-
Python: Ensure Python 3.10 or higher is installed.
-
pip: Python's package manager.
-
Node.js & npm: For JavaScript dependencies (required by the GOV.UK Design System).
-
Clone the repository:
git clone https://github.com/uktrade/trade-data-catalogue.git
-
Setup the virtual environment:
python -m venv venv
source venv/bin/activate
-
Install Python dependencies:
pip install -r requirements.txt
-
Copy
sample.env
into.env
:cp sample.env .env
-
Install frontend dependencies:
npm install
-
Run on local server:
cd trade_data_catalogue
python manage.py runserver