aboutsummaryrefslogtreecommitdiffstats
path: root/notes
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2012-04-23 10:01:06 +0100
committerMark Longair <mhl@pobox.com>2012-04-23 11:15:14 +0100
commitafa22b4d5f3ba46e829280b438e13c589b699dda (patch)
treee1a807b4c1c5271558f91e7301e1e53a0a525b8f /notes
parent3400e9b9d10107fa210df3d64b32fae25fdf9bbd (diff)
Add some instructions on using the Catalyst development server
Thanks to Struan Donald for explaining to me how to do this.
Diffstat (limited to 'notes')
-rw-r--r--notes/INSTALL.pod15
1 files changed, 15 insertions, 0 deletions
diff --git a/notes/INSTALL.pod b/notes/INSTALL.pod
index e13178601..fc89547bf 100644
--- a/notes/INSTALL.pod
+++ b/notes/INSTALL.pod
@@ -183,6 +183,21 @@ the required development tools.
=head2 Set up Webserver
+For production use of FixMyStreet, we suggest you use Apache and
+FastCGI. (See below.) For local development, however, you can use
+the Catalyst development server. First, install the Catalyst
+development tools with:
+
+ ./bin/cron-wrapper local/bin/carton install Catalyst::Devel
+
+Then the development server can be run with:
+
+ CATALYST_DEBUG=1 ./bin/cron-wrapper ./script/fixmystreet_app_server.pl -r
+
+The server will be accessible as L<http://localhost:3000/>.
+
+=head3 Setting up Apache
+
It is recommended that you run FixMyStreet using FastCGI. It should also be
possible to run it using Plack/PSGI.