Skip to content

Commit de6a054

Browse files
authored
Merge pull request #44 from OutboundSpade/main
Update README to replace MailHog with mailpit & Add devcontainers
2 parents 849b5bb + 85ad72e commit de6a054

File tree

2 files changed

+32
-5
lines changed

2 files changed

+32
-5
lines changed

.devcontainer/devcontainer.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
3+
{
4+
"name": "Existing Dockerfile",
5+
"build": {
6+
// Sets the run context to one level up instead of the .devcontainer folder.
7+
"context": "..",
8+
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
9+
"dockerfile": "../Dockerfile"
10+
},
11+
12+
// Features to add to the dev container. More info: https://containers.dev/features.
13+
// "features": {},
14+
15+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
16+
"forwardPorts": [8000],
17+
"runArgs": ["--network=host"]
18+
19+
// Uncomment the next line to run commands after the container is created.
20+
// "postCreateCommand": "cat /etc/os-release",
21+
22+
// Configure tool-specific properties.
23+
// "customizations": {},
24+
25+
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
26+
// "remoteUser": "devcontainer"
27+
}

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,21 +82,21 @@ Moved to [Live reloading and SASS compilation](http://cookiecutter-django.readth
8282

8383
### Email Server
8484

85-
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.
85+
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.
8686

87-
1. [Download the latest MailHog release](https://github.com/mailhog/MailHog/releases) for your OS.
87+
1. [Download the latest mailpit release](https://github.com/axllent/mailpit/releases) for your OS.
8888

89-
2. Rename the build to `MailHog`.
89+
2. Rename the build to `mailpit`.
9090

9191
3. Copy the file to the project root.
9292

9393
4. Make it executable:
9494

95-
$ chmod +x MailHog
95+
$ chmod +x mailpit
9696

9797
5. Spin up another terminal window and start it there:
9898

99-
./MailHog
99+
./mailpit
100100

101101
6. Check out <http://127.0.0.1:8025/> to see how it goes.
102102

0 commit comments

Comments
 (0)