Commit graph

11 commits

Author SHA1 Message Date
86e2415e73 supporters: Add sustainer form with pre-canned amount options 2024-10-22 23:52:35 +11:00
c4525a5905 Fix tests
These were failing due to pytest defaulting to `DEBUG = False` (and then getting
`ValueError: Missing staticfiles manifest entry for ...`).
2024-07-22 16:56:25 +10:00
6c693535ea Set ownership during deploy 2024-05-07 09:48:36 +10:00
38af378c95 Add linkcheck script 2024-03-20 15:54:18 +11:00
32c5b85cfa Make bin/deploy abort if there's an error with git push
For example, your push failed because there's upstream changes.
2024-03-20 14:18:59 +11:00
35290d960c Update bin/deploy to use production settings 2024-03-20 14:18:46 +11:00
95fd31916d Switch from "restart apache2" to "reload apache2"
No need to do a full restart. Reload will be marginally faster.
2024-03-16 09:07:11 +11:00
fc4e61c550 Rename bin/deploy.sh to bin/deploy 2024-03-13 14:26:41 +11:00
1afac48c60 Switch content tests to pytest 2024-03-13 14:26:01 +11:00
c9c1cd710b Fix mistaken rename
I meant to rename the deploy script, not the deploy directory.
2024-02-27 10:23:18 +11:00
48e26e7062 Add a basic script to "push" deploy
Currently updates are published by the "conservancy-www-update.sh" that does a
"pull" deploy with a 5-minutely job that runs on the web server. This doesn't
run `migrate`, `collectstatic` or restart the application, so certain types of
changes don't take effect, and even template changes often don't due to caching
template loader.

This script allows you to deploy more significant updates on-demand, but
requires SSH access.
2024-02-23 15:39:54 +11:00