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.6.tar.gz (47.5 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.6-py3-none-any.whl (56.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ddmail_webapp-0.0.6.tar.gz
  • Upload date:
  • Size: 47.5 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.6.tar.gz
Algorithm Hash digest
SHA256 11e997d05abc872a9abd5ef4153284e85ad9d41c717f89dd05f3510c12f7a9c3
MD5 c4d0fd84d421da02cf0100d63e73b781
BLAKE2b-256 a00330ed979b84868b5521e0e101150c942009f6c57b49ba01d5d9868b89afe7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ddmail_webapp-0.0.6-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

Hashes for ddmail_webapp-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b22dd3cf39ed7f9d3da5e893d5c29853cf09426c6e5fc8ce2220edd29f1b50d7
MD5 169cb33b3f4aad9e11e1e7bfa66b06dc
BLAKE2b-256 aa611af545d7d6a3084484bde6d0bd88b8cd474dbcae7d25d2bd9d6626b82d3a

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