-
Notifications
You must be signed in to change notification settings - Fork 466
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweaked docker/run slightly. Added 2 utility scripts docker/mailserve…
…r and docker/devserver, to start a debug smtp server and a development webserver in separate terminal windws. These assume that the docker image already is running. Tweaked the settings_local in docker/ to send email to the debug smtp server. - Legacy-Id: 13139
- Loading branch information
Showing
4 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
version=0.10 | ||
program=${0##*/} | ||
progdir=${0%/*} | ||
if [ "$progdir" = "$program" ]; then progdir="."; fi | ||
if [ "$progdir" = "." ]; then progdir="$PWD"; fi | ||
parent=$(dirname $progdir) | ||
if [ "$parent" = "." ]; then parent="$PWD"; fi | ||
|
||
# ---------------------------------------------------------------------- | ||
|
||
$progdir/run ietf/manage.py runserver 0.0.0.0:8000 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
version=0.10 | ||
program=${0##*/} | ||
progdir=${0%/*} | ||
if [ "$progdir" = "$program" ]; then progdir="."; fi | ||
if [ "$progdir" = "." ]; then progdir="$PWD"; fi | ||
parent=$(dirname $progdir) | ||
if [ "$parent" = "." ]; then parent="$PWD"; fi | ||
|
||
# ---------------------------------------------------------------------- | ||
|
||
$progdir/run python -m smtpd -n -c DebuggingServer localhost:2025 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters