Skip to content

Commit 8038d2d

Browse files
author
Pedro Figueiredo
committed
Fixed the production mode setting
1 parent 46722ea commit 8038d2d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

mojolicious/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,16 @@ with nginx, nginx.conf provided)
1717

1818
# Deployment
1919

20+
Set production mode:
21+
22+
export MOJO_MODE=production
23+
2024
Something along the lines of
2125

22-
plackup -E production -s Starman --workers=2 -l /tmp/frameworks-benchmark.sock -a ./app.pl
26+
plackup -s Starman --workers=2 -l /tmp/frameworks-benchmark.sock -a ./app.pl
2327

2428
if you want to front it with nginx, otherwise
2529

26-
plackup -E production -s Starman --port 8080 --workers=2 -a ./app.pl
30+
plackup -s Starman --port 8080 --workers=2 -a ./app.pl
2731

2832
or the equivalent Morbo or Hypnotoad commands.

0 commit comments

Comments
 (0)