Main web application for the DDMail project.
Project description
What is ddmail_webapp
Main web application for the DDMail project.
What is DDMail
DDMail is a e-mail system/service that prioritizes security. A current production example can be found at www.ddmail.se
Operating system
Developt for and tested on debian 12.
Installing using pip
pip install ddmail-webapp
Building and installing from source using hatchling.
Step 1: clone github repo
git clone https://github.com/drzobin/ddmail_webapp [code path]
cd [code path]
Step 2: Setup python virtual environments
python -m venv [venv path]
source [venv path]/bin/activate
Step 3: Install package and required dependencies
pip install -e .[dev]
Step 4: Build package
python -m pip install --upgrade build
python -m build
Packages is now located under dist folder
Step 5: Install package
pip install dist/[package name].whl
Running in development mode
source [ddmail_webapp venv]/bin/activate
export MODE=DEVELOPMENT
flask --app ddmail_webapp:create_app(config_file="[full path to config file]") run --host=127.0.0.1 --port 8000 --debug
Testing
cd [code path]
pytest --cov=ddmail_webapp tests/ --config=[config file path]
Installation using podmon for development
Here is instruction how to install ddmail_webapp locally for development using podman.
You can run ddmail locally in Podman by following the below steps. It has been
verified to work with Podman version 4.9.3 and podman-compose 1.0.6.
Before you start, make sure you clone the below repositories and make sure they
are located in the same directory as ddmail_webapp:
- https://github.com/drzobin/ddmail_email_remover
- https://github.com/drzobin/ddmail_dmcp_keyhandler
- https://github.com/drzobin/ddmail_openpgp_keyhandler
- https://github.com/drzobin/ddmail_backup_receiver
# Once the above repositories are cloned, launch ddmail.
cd ddmail/
podman compose up --build
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ddmail_webapp-0.0.7.tar.gz.
File metadata
- Download URL: ddmail_webapp-0.0.7.tar.gz
- Upload date:
- Size: 47.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5505e747cf143950e9a0333912ace8b3f1f1909c995032c6f96dbbdb68983c5
|
|
| MD5 |
4fef50503d8cb7b55fcfcaa9da1c42c6
|
|
| BLAKE2b-256 |
961c31c8571d2d14e5a5cd68ad13b9ce692d4dcfbd71c9a64a371e4879149484
|
File details
Details for the file ddmail_webapp-0.0.7-py3-none-any.whl.
File metadata
- Download URL: ddmail_webapp-0.0.7-py3-none-any.whl
- Upload date:
- Size: 56.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e05d6229dfb27c7e0bcc364172ac69df23a4a0e2c89c90a12e8ab5f4f6868ce4
|
|
| MD5 |
d6f7b99d91a66d61fde933598fbd2285
|
|
| BLAKE2b-256 |
1614e3b0f7e5daaf85a3cbd9b43542816a8e0646d581a78f3a2b335fef8d55ff
|