Commit graph

78 commits

Author SHA1 Message Date
786bd251a1
Merge collectstatic job into tests
Tests are the only one which really need it. Should make the other tests much faster
2022-06-12 15:58:06 +01:00
f6221a42dd
Remove duplicate checks from test job 2022-06-12 15:55:48 +01:00
c66acadd43
Only use just during development
This makes the CI tasks more verbose, but makes the whole setup much easier to manage
2022-06-12 15:52:45 +01:00
e2d5101a56
Add linting 2022-06-12 15:24:17 +01:00
b997350283
Disable the need for collectstatic during local dev 2022-06-12 14:52:48 +01:00
bea6b53bd3
Ensure static build directory still exists during tests
This silences a warning. It's not actually _required_
2022-06-10 17:22:39 +01:00
a2044db646
Run collect_static job after pip and static 2022-06-10 17:20:06 +01:00
2c1cc3e411
Collect static before
Run as a separate job, and then tests split out into 2
2022-06-10 17:15:13 +01:00
c16b81a618
Test homepage is accessible 2022-06-10 17:04:36 +01:00
85785dddb7
Use Python 3.10 on CI 2022-06-10 17:01:26 +01:00
f5d45e65ba
Set secret key during tests 2022-06-10 16:56:25 +01:00
284d139968
Add pip cache 2022-06-10 16:56:07 +01:00
adb2b3aa8b
Add CI config 2022-06-10 16:46:47 +01:00
d17b0af9f6
Add tests for unique body classes 2022-06-10 16:22:20 +01:00
82f3163ff5
Derive body class for pages 2022-06-10 15:54:31 +01:00
3986b30a64
Create a base page model for all other to inherit 2022-06-10 15:48:07 +01:00
67b8965e1f
Remove boilerplate 2022-06-10 15:44:43 +01:00
e96bb4c903
Remove unnecessary static path
This is handled by whitenoise
2022-06-10 15:39:50 +01:00
b195ae2a62
Update settings to use pathlib 2022-06-10 09:16:13 +01:00
c1fdd81f86
Setup static file pipeline 2022-06-10 09:13:00 +01:00
56112a9655
Add honcho and just 2022-06-09 22:20:40 +01:00
da540a2abb
Add basic README instructions 2022-06-09 09:18:10 +01:00
bbbea0b6aa
Prune the readme 2022-06-09 09:13:24 +01:00
6514c06ad1
npm init 2022-06-09 09:09:02 +01:00
e0b95fd269
Add whitenoise for static files 2022-06-09 09:03:00 +01:00
531b75c128
Read configuration from environment 2022-06-09 08:51:47 +01:00
5f814b2a5a
Init wagtail project 2022-06-09 08:36:29 +01:00
fb286d7a63 Initial commit 2022-06-09 08:17:26 +01:00