|
@@ -17,12 +17,16 @@ with nginx, nginx.conf provided)
|
|
|
|
|
|
# Deployment
|
|
|
|
|
|
+Set production mode:
|
|
|
+
|
|
|
+ export MOJO_MODE=production
|
|
|
+
|
|
|
Something along the lines of
|
|
|
|
|
|
- plackup -E production -s Starman --workers=2 -l /tmp/frameworks-benchmark.sock -a ./app.pl
|
|
|
+ plackup -s Starman --workers=2 -l /tmp/frameworks-benchmark.sock -a ./app.pl
|
|
|
|
|
|
if you want to front it with nginx, otherwise
|
|
|
|
|
|
- plackup -E production -s Starman --port 8080 --workers=2 -a ./app.pl
|
|
|
+ plackup -s Starman --port 8080 --workers=2 -a ./app.pl
|
|
|
|
|
|
or the equivalent Morbo or Hypnotoad commands.
|