Skip to main content

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:

# Once the above repositories are cloned, launch ddmail.
cd ddmail/
podman compose up --build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ddmail_webapp-0.0.9.tar.gz (48.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ddmail_webapp-0.0.9-py3-none-any.whl (57.6 kB view details)

Uploaded Python 3

File details

Details for the file ddmail_webapp-0.0.9.tar.gz.

File metadata

  • Download URL: ddmail_webapp-0.0.9.tar.gz
  • Upload date:
  • Size: 48.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for ddmail_webapp-0.0.9.tar.gz
Algorithm Hash digest
SHA256 da0957cad26cf1f5b471db77b7aec418cb482529256ec629879ac7e50db36a23
MD5 55efb5a9241657a195f903ea33ff6c74
BLAKE2b-256 0a1f7642a0e998176dfaecb7c8b15b25d081d6dfcc7e217416ab20d0ea48fa22

See more details on using hashes here.

File details

Details for the file ddmail_webapp-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: ddmail_webapp-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 57.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for ddmail_webapp-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 1a23e835482f0dcfe5e35345b0c97e3f169658db4221b5836da959ec4f6cc156
MD5 a3e1ec620d497d1c36cd303b3ae62ae5
BLAKE2b-256 493c46b10cb7457ee54292df3f547b15d3c80e1f2d06c174fb16b07862857136

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page