| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
|
|
| |
Your site user may not have access to sudo, and your admin user may
cause permission issues if used to do the git checkout, or the Perl
module installation. Document the separate script to install system
packages instead.
Co-authored-by: Sam Pearson <sam@mysociety.org>
|
|
|
|
|
|
| |
When working locally it’s not convenient to always run install_packages
as part of ./script/update, so this commit allows you to define
the SKIP_PACKAGES_INSTALL environment variable to stop that.
|
|
|
|
|
| |
When running in Docker, set `SKIP_PACKAGES_INSTALL` to avoid
running `install_packages` when starting the container.
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a script, `bin/install_packages`, that will install packages
listed in versions of `conf/packages*` and calls it from the bootstrap
script in a way appropriate to the environment it is being run under.
This should ensure that, for example, changes to dependencies will be
applied to Vagrant machines in-between tagged releases.
The default packages file used will be `packages.generic`.
|
|
|
|
|
| |
Include the usual generate new .pot file, gettext-merge, push to
Transifex, pull from Transifex step.
|
|
|
|
|
|
|
|
| |
This adds support in `script/setup` for generating a local `general.yml`
if it doesn't already exist and is run as the `vagrant` user. This is
called from the `Vagrantfile` when using the FixMyStreet Vagrant box.
[skip ci]
|
| |
|
|
|
|
|
| |
When running on a Mac, the dev server only
watches changes to directories, not files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Along the model of GitHub’s scripts, add generic scripts to
bootstrap, update, test or run a server.
|
|
|
|
|
| |
Call the necessary boilerplate in each script so you can call them
directly. Remove boilerplate from files that don't need it.
|
|
|
|
|
| |
change suffix to .cgi so that default conf applies
add library paths
|
|
|