PSGI/Plack/PSGIアプリケーションを動ã‹ã™æ™‚ã«ä¸€ç•ªä½¿ã‚ã‚Œã¦ã„ã‚‹ã®ã¯ plackup ã§ã—ょã†ã€‚ $ cat app.psgi use Plack::Builder; use MyApp; my $app = MyApp->psgi_app; builder { enable 'ServerStatus::Lite', => ..; $app; }; $ plackup -E production -s Starlet --max-workers 30 --port 5000 -a app.psgi plackup コマンド㮠-s ã«ãƒãƒ³ãƒ‰ãƒ©åを指定ã—ã¦èµ·å‹•ã—ã¾ã™ã€‚本番環境ã§ã¯ -E ã‚„ $ENV{PLACK_ENV} を指定ã—ã¦StackTraceã‚„Lintã¨ã„ã£ãŸé–‹ç™ºã«ä¾¿åˆ©ãªPlack::MiddlewareãŒè¿½åŠ ã•ã‚Œãªã„よã†ã«ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã。 Starmanã®å ´åˆã¯
{{#tags}}- {{label}}
{{/tags}}