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.5.tar.gz (47.3 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.5-py3-none-any.whl (56.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ddmail_webapp-0.0.5.tar.gz
  • Upload date:
  • Size: 47.3 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.5.tar.gz
Algorithm Hash digest
SHA256 87b533a9a1cfb9588dafd4b8220d52fa250a1eed2133479f00e454718d4dd0f3
MD5 f2ecb22fa7b60e07749c19e1ef0821f4
BLAKE2b-256 e30bf34c57bd2ac2f1938a74020b13fe28fe51f9491b23330c050954ca9dda09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ddmail_webapp-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 56.4 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0505462adfec12c81c7d4f37f0aa7874b0e5e52c2612bc0dda67cf7d0d989cb1
MD5 4b2c8cc4d07706e888dbccaa8dd2dd75
BLAKE2b-256 98e0b033dbeb92df0eca7b2e982632eca1da0c460293788573d8e78cc8d432f3

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