Browse Source

Added deployment notes

Pedro Figueiredo 12 years ago
parent
commit
58284bf7b2
1 changed files with 10 additions and 0 deletions
  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