aboutsummaryrefslogtreecommitdiffstats
path: root/script/bootstrap
Commit message (Collapse)AuthorAgeLines
* Do not have bootstrap run sudo commands.Matthew Somerville2020-07-15-13/+0
| | | | | | | | | 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>
* Respect SKIP_PACKAGES_INSTALL when not in Docker tooDave Arter2020-04-27-7/+7
| | | | | | 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.
* [Docker] Allow user to skip running install_packagesSam Pearson2020-03-10-2/+5
| | | | | When running in Docker, set `SKIP_PACKAGES_INSTALL` to avoid running `install_packages` when starting the container.
* [script/bootstrap] Keep OS packages updated in development environmentsSam Pearson2020-03-03-0/+10
| | | | | | | | | | | 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`.
* Add scripts to rule them all.Matthew Somerville2017-06-30-0/+7
Along the model of GitHub’s scripts, add generic scripts to bootstrap, update, test or run a server.