Skip to content

ietf-tools/mailarchive

IETF Mail Archive

Release License Python Version Django Version Node Version MySQL Version

IETF Mail List Archives

Development

VSCode

This project supports VSCode Dev Containers. Open the project in VSCode and choose restart in container. To run tests: Terminal -> Run Task -> Run All Tests

Others

Run (cd docker && ./run-dev) from the command line. You will be prompted with the following message.

You can execute arbitrary commands now, e.g.,

    backend/manage.py check && backend/manage.py runserver 0.0.0.0:8000

to start a development instance of the Mail Archive.

    cd backend/mlarchive && pytest tests

to run all the tests.

Run cd backend/mlarchive && pytest tests to run all tests.

Sandbox Server

Follow these instructions to deploy a containerized version of the system on a staging server.

  • Download release tarbal from GitHub and extract
mkdir 2.20.12
cd 2.20.12
wget https://github.com/ietf-tools/mailarchive/releases/download/2.20.12/release.tar.gz
tar xvzf release.tar.gz
  • Run compose
docker compose -f compose-sandbox.yml up -d

Load sample data

To load some sample data (messages for a few small lists), from within the app container:

cd backend/mlarchive/bin
./load_sample_data.sh