aboutsummaryrefslogtreecommitdiffstats
path: root/script/server
Commit message (Collapse)AuthorAgeLines
* Switch to direct app server, not FastCGI.Matthew Somerville2018-09-26-3/+11
|
* Monitor whole conf directory in dev serverMatthew Somerville2018-03-07-1/+1
| | | | | When running on a Mac, the dev server only watches changes to directories, not files.
* Add debug toolbar middleware.Matthew Somerville2017-08-29-1/+2
| | | | | | | | | | | | | | If debug is enabled, using the CATALYST_DEBUG/FIXMYSTREET_APP_DEBUG environment variables, add a debug toolbar to the output, including request/response details and a database query log. This uses Plack middleware, so works by switching our dev server to use Starman with plack directly, rather than via the script runner. We remove the GZip compression as this interferes, and take a local copy of the QueryLog::AdoptPlack trait as it needs a tweak to work. Make sure the CSP header is not output in debug mode, as that would prevent the toolbar JavaScript from running.
* Add scripts to rule them all.Matthew Somerville2017-06-30-0/+6
Along the model of GitHub’s scripts, add generic scripts to bootstrap, update, test or run a server.