瀏覽代碼

Added deployment notes

Pedro Figueiredo 12 年之前
父節點
當前提交
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