Skip to content

Latest commit

 

History

History
71 lines (48 loc) · 2.33 KB

README.md

File metadata and controls

71 lines (48 loc) · 2.33 KB
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