summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7ff686e)
public-inbox-httpd should work with any PSGI files, so make
it more apparent to people reading .psgi examples.
#
# PublicInbox::Cgit may be used independently of WWW.
#
#
# PublicInbox::Cgit may be used independently of WWW.
#
+# Usage (development, with auto-reload):
# plackup -I lib -o 127.0.0.1 -R lib -r examples/cgit.psgi
# plackup -I lib -o 127.0.0.1 -R lib -r examples/cgit.psgi
+#
+# Usage (production, with public-inbox-httpd(1)):
+# public-inbox-httpd [OPTIONS] /path/to/examples/cgit.psgi
use strict;
use warnings;
use Plack::Builder;
use strict;
use warnings;
use Plack::Builder;
# Usage: plackup [OPTIONS] /path/to/this/file
# A startup command for development which monitors changes:
# plackup -I lib -o 127.0.0.1 -R lib -r examples/highlight.psgi
# Usage: plackup [OPTIONS] /path/to/this/file
# A startup command for development which monitors changes:
# plackup -I lib -o 127.0.0.1 -R lib -r examples/highlight.psgi
+#
+# .psgi paths may also be passed to public-inbox-httpd(1) for
+# production deployments:
+# public-inbox-httpd [OPTIONS] /path/to/examples/highlight.psgi
use strict;
use warnings;
use PublicInbox::WwwHighlight;
use strict;
use warnings;
use PublicInbox::WwwHighlight;
# inbox. NewsWWW exists because people (or software) can mishandle
# "nntp://" or "news://" URLs as "http://" (or "https://")
#
# inbox. NewsWWW exists because people (or software) can mishandle
# "nntp://" or "news://" URLs as "http://" (or "https://")
#
+# Usage (development, with auto-reload):
# plackup -I lib -o 127.0.0.1 -R lib -r examples/newswww.psgi
# plackup -I lib -o 127.0.0.1 -R lib -r examples/newswww.psgi
+#
+# Usage (production, with public-inbox-httpd(1)):
+# public-inbox-httpd [OPTIONS] /path/to/examples/newsww.psgi
use strict;
use warnings;
use Plack::Builder;
use strict;
use warnings;
use Plack::Builder;
# License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
# Note: this is part of our test suite, update t/plack.t if this changes
# Usage: plackup [OPTIONS] /path/to/this/file
# License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
# Note: this is part of our test suite, update t/plack.t if this changes
# Usage: plackup [OPTIONS] /path/to/this/file
# A startup command for development which monitors changes:
# plackup -I lib -o 127.0.0.1 -R lib -r examples/public-inbox.psgi
# A startup command for development which monitors changes:
# plackup -I lib -o 127.0.0.1 -R lib -r examples/public-inbox.psgi
+#
+# .psgi paths may also be passed to public-inbox-httpd(1) for
+# production deployments:
+# public-inbox-httpd [OPTIONS] /path/to/examples/public-inbox.psgi
use strict;
use warnings;
use PublicInbox::WWW;
use strict;
use warnings;
use PublicInbox::WWW;