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.8.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.8-py3-none-any.whl (56.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ddmail_webapp-0.0.8.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.8.tar.gz
Algorithm Hash digest
SHA256 31df0dbaeaf649fab51bd8a23e93b0be22c9cebcb4b4a7b6b7b529c2fd73bed1
MD5 cb839719761b593564724b5cef12bf6f
BLAKE2b-256 cf86887ff8afc90dc8fe11b73258bd09b1e267e12db675363ebba541f98b0f11

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ddmail_webapp-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 56.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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 94853cb3bc2ee0edaa664e99164a4325750d583a87e67efdd4afa0abb7ab578a
MD5 42880d466c7922cb4c0e7692ccb136ea
BLAKE2b-256 7e3b55dd0aeaa3821293fbb66dd07d8ab467899c87ad4a1dfeca5a924852bf27

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