From afa22b4d5f3ba46e829280b438e13c589b699dda Mon Sep 17 00:00:00 2001 From: Mark Longair Date: Mon, 23 Apr 2012 10:01:06 +0100 Subject: Add some instructions on using the Catalyst development server Thanks to Struan Donald for explaining to me how to do this. --- notes/INSTALL.pod | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'notes') 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. + +=head3 Setting up Apache + It is recommended that you run FixMyStreet using FastCGI. It should also be possible to run it using Plack/PSGI. -- cgit v1.2.3