Pedro Figueiredo 12 жил өмнө
parent
commit
01b653bbe2
1 өөрчлөгдсөн 10 нэмэгдсэн , 0 устгасан
  1. 10 0
      dancer/README.md

+ 10 - 0
dancer/README.md

@@ -12,3 +12,13 @@
 * Starman (if using Starman as web server)
 * Plack (for plackup)
 * nginx (if you want to front Dancer with nginx, nginx.conf provided)
+
+# Deployment
+
+Something along the lines of
+
+    plackup -E production -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