Commit Graph

982 Commits

Author SHA1 Message Date
Jake Howard b521163007
Add prettier to format frontend 2022-06-12 19:35:06 +01:00
Jake Howard 27c0d64122
Add dark mode toggle
Finally, it won't be all dark all the time!
2022-06-12 18:13:48 +01:00
Jake Howard 553e393ba4
Add skeleton navbar 2022-06-12 17:21:53 +01:00
Jake Howard 2066023659
Add editorconf 2022-06-12 17:03:17 +01:00
Jake Howard 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
Jake Howard f6221a42dd
Remove duplicate checks from test job 2022-06-12 15:55:48 +01:00
Jake Howard 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
Jake Howard e2d5101a56
Add linting 2022-06-12 15:24:17 +01:00
Jake Howard b997350283
Disable the need for collectstatic during local dev 2022-06-12 14:52:48 +01:00
Jake Howard 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
Jake Howard a2044db646
Run collect_static job after pip and static 2022-06-10 17:20:06 +01:00
Jake Howard 2c1cc3e411
Collect static before
Run as a separate job, and then tests split out into 2
2022-06-10 17:15:13 +01:00
Jake Howard c16b81a618
Test homepage is accessible 2022-06-10 17:04:36 +01:00
Jake Howard 85785dddb7
Use Python 3.10 on CI 2022-06-10 17:01:26 +01:00
Jake Howard f5d45e65ba
Set secret key during tests 2022-06-10 16:56:25 +01:00
Jake Howard 284d139968
Add pip cache 2022-06-10 16:56:07 +01:00
Jake Howard adb2b3aa8b
Add CI config 2022-06-10 16:46:47 +01:00
Jake Howard d17b0af9f6
Add tests for unique body classes 2022-06-10 16:22:20 +01:00
Jake Howard 82f3163ff5
Derive body class for pages 2022-06-10 15:54:31 +01:00
Jake Howard 3986b30a64
Create a base page model for all other to inherit 2022-06-10 15:48:07 +01:00
Jake Howard 67b8965e1f
Remove boilerplate 2022-06-10 15:44:43 +01:00
Jake Howard e96bb4c903
Remove unnecessary static path
This is handled by whitenoise
2022-06-10 15:39:50 +01:00
Jake Howard b195ae2a62
Update settings to use `pathlib` 2022-06-10 09:16:13 +01:00
Jake Howard c1fdd81f86
Setup static file pipeline 2022-06-10 09:13:00 +01:00
Jake Howard 56112a9655
Add honcho and just 2022-06-09 22:20:40 +01:00
Jake Howard da540a2abb
Add basic README instructions 2022-06-09 09:18:10 +01:00
Jake Howard bbbea0b6aa
Prune the readme 2022-06-09 09:13:24 +01:00
Jake Howard 6514c06ad1
npm init 2022-06-09 09:09:02 +01:00
Jake Howard e0b95fd269
Add whitenoise for static files 2022-06-09 09:03:00 +01:00
Jake Howard 531b75c128
Read configuration from environment 2022-06-09 08:51:47 +01:00
Jake Howard 5f814b2a5a
Init wagtail project 2022-06-09 08:36:29 +01:00
Jake Howard fb286d7a63 Initial commit 2022-06-09 08:17:26 +01:00