https://github.com/ietf-tools/mailarchive
IETF Mail List Archives
https://github.com/ietf-tools/mailarchive
archive mail mailing-list
Last synced: about 1 month ago
JSON representation
IETF Mail List Archives
- Host: GitHub
- URL: https://github.com/ietf-tools/mailarchive
- Owner: ietf-tools
- License: bsd-3-clause
- Created: 2022-03-02T18:11:03.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-15T23:46:15.000Z (4 months ago)
- Last Synced: 2025-04-02T11:49:54.876Z (about 2 months ago)
- Topics: archive, mail, mailing-list
- Language: Python
- Homepage: https://mailarchive.ietf.org
- Size: 36.1 MB
- Stars: 43
- Watchers: 9
- Forks: 28
- Open Issues: 100
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
[](https://github.com/ietf-tools/mailarch/releases)
[](https://github.com/ietf-tools/mailarch/blob/main/LICENSE)
[](#prerequisites)
[](#prerequisites)
[](#prerequisites)
[](#prerequisites)##### IETF Mail List Archives
- [**Production Website**](https://mailarchive.ietf.org)
- [Changelog](https://github.com/ietf-tools/mailarch/releases)
- [Contributing](https://github.com/ietf-tools/.github/blob/main/CONTRIBUTING.md)
- [Development](#development)
- [Sandbox Server](#sandbox-server)---
### 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.
```text
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
```sh
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
```sh
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:
```sh
cd backend/mlarchive/bin
./load_sample_data.sh
```