Permalink
Browse files

Added a README for the scaling demo.

  • Loading branch information...
Daniil Kulchenko
Daniil Kulchenko committed Aug 17, 2011
1 parent 7280fbd commit 287541794ecda2f559838fce0eeeab83be5e0556
Showing with 24 additions and 0 deletions.
  1. +24 −0 README.md
View
@@ -0,0 +1,24 @@
+# Stackato scaling demo
+
+## Purpose
+
+Displays IP and PID of the current instance of the app, useful for demonstrating multiple running instances.
+
+## Usage
+
+### via Stackato
+
+ $ stackato push -n
+
+Then open http://scaling.stackato.local in a browser.
+
+### Without Stackato
+
+It is possible to run the app without Stackato, if necessary.
+
+ 1. cpanm Mojolicious Sys::HostIP
+ 2. perl app.pl daemon
+
+Then open http://127.0.0.1:3000/ in a browser.
+
+

0 comments on commit 2875417

Please sign in to comment.