From 55fac09157a6fbd5204c5824e574aea46be45d9a Mon Sep 17 00:00:00 2001 From: Ray <44787842+OutboundSpade@users.noreply.github.com> Date: Thu, 9 Oct 2025 03:30:28 +0000 Subject: [PATCH 1/2] Update README to replace MailHog with mailpit --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8b7ae54..d81bf9c 100644 --- a/README.md +++ b/README.md @@ -82,21 +82,21 @@ Moved to [Live reloading and SASS compilation](http://cookiecutter-django.readth ### Email Server -In development, it is often nice to be able to see emails that are being sent from your application. If you choose to use [MailHog](https://github.com/mailhog/MailHog) when generating the project a local SMTP server with a web interface will be available. +In development, it is often nice to be able to see emails that are being sent from your application. If you choose to use [mailpit](https://github.com/axllent/mailpit) when generating the project a local SMTP server with a web interface will be available. -1. [Download the latest MailHog release](https://github.com/mailhog/MailHog/releases) for your OS. +1. [Download the latest mailpit release](https://github.com/axllent/mailpit/releases) for your OS. -2. Rename the build to `MailHog`. +2. Rename the build to `mailpit`. 3. Copy the file to the project root. 4. Make it executable: - $ chmod +x MailHog + $ chmod +x mailpit 5. Spin up another terminal window and start it there: - ./MailHog + ./mailpit 6. Check out to see how it goes. From 85ad72e426adab296a6d13b45060b069d501c5fb Mon Sep 17 00:00:00 2001 From: Ray <44787842+OutboundSpade@users.noreply.github.com> Date: Wed, 8 Oct 2025 23:41:53 -0400 Subject: [PATCH 2/2] Add devcontainer for better developer experience --- .devcontainer/devcontainer.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..5d522b4 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,27 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile +{ + "name": "Existing Dockerfile", + "build": { + // Sets the run context to one level up instead of the .devcontainer folder. + "context": "..", + // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. + "dockerfile": "../Dockerfile" + }, + + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + + // Use 'forwardPorts' to make a list of ports inside the container available locally. + "forwardPorts": [8000], + "runArgs": ["--network=host"] + + // Uncomment the next line to run commands after the container is created. + // "postCreateCommand": "cat /etc/os-release", + + // Configure tool-specific properties. + // "customizations": {}, + + // Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "devcontainer" +}